Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 189.9 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 43.94 kB / 370.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2772, allocations: 52.19 MB / 422.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0347/0.3119, allocations: 30.53 MB / 453.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02016/0.332, allocations: 8.681 MB / 461.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006659/0.3387, allocations: 222.9 kB / 462.1 MB, free: 7.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01356/0.3522, allocations: 5.01 MB / 467.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.3628, allocations: 3.12 MB / 470.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.3678, allocations: 1.64 MB / 471.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01328/0.3811, allocations: 8.772 MB / 480.6 MB, free: 4.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01584/0.3969, allocations: 9.229 MB / 489.9 MB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007664/0.4046, allocations: 4.34 MB / 494.2 MB, free: 6.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009865/0.4145, allocations: 4.804 MB / 499 MB, free: 1.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004061/0.4185, allocations: 1.16 MB / 0.4884 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005029/0.4236, allocations: 1.539 MB / 0.4899 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003505/0.4271, allocations: 2.415 MB / 0.4923 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009602/0.4367, allocations: 4.676 MB / 0.4969 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02347/0.4601, allocations: 15.84 MB / 0.5123 GB, free: 8.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4601, allocations: 3.938 kB / 0.5123 GB, free: 8.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4601, allocations: 0 / 0.5123 GB, free: 8.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004442/0.4606, allocations: 0 / 0.5123 GB, free: 8.199 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03026/0.4908, allocations: 9.853 MB / 0.522 GB, free: 14.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.4909, allocations: 8.031 kB / 0.522 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003424/0.4943, allocations: 1.152 MB / 0.5231 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03/0.5243, allocations: 5.31 MB / 0.5283 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.5369, allocations: 5.113 MB / 0.5333 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005165/0.5374, allocations: 0.5376 MB / 0.5338 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/0.5397, allocations: 0.7108 MB / 0.5345 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2386/0.7783, allocations: 11.32 MB / 0.5456 GB, free: 93.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002581/0.7785, allocations: 20.8 kB / 0.5456 GB, free: 93.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001553/0.7801, allocations: 298.7 kB / 0.5459 GB, free: 92.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000363/0.7805, allocations: 451.4 kB / 0.5463 GB, free: 92.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/0.8023, allocations: 10.84 MB / 0.5569 GB, free: 88.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05611/0.8584, allocations: 36.53 MB / 0.5925 GB, free: 52.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.8698, allocations: 7.468 MB / 0.5998 GB, free: 45.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003694/0.8735, allocations: 2.413 MB / 0.6022 GB, free: 43.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01261/0.8861, allocations: 7.475 MB / 0.6095 GB, free: 36.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.8861, allocations: 64.56 kB / 0.6096 GB, free: 36.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.919e-06/0.8861, allocations: 0 / 0.6096 GB, free: 36.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01888/0.905, allocations: 10.28 MB / 0.6196 GB, free: 26.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001616/0.9066, allocations: 1.901 MB / 0.6215 GB, free: 24.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005808/0.9124, allocations: 3.827 MB / 0.6252 GB, free: 20.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003621/0.9128, allocations: 65.7 kB / 0.6253 GB, free: 20.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001696/0.9145, allocations: 3.68 MB / 0.6288 GB, free: 16.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000795/0.9153, allocations: 0.867 MB / 0.6297 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/0.9168, allocations: 0.9614 MB / 0.6306 GB, free: 14.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.775e-05/0.9168, allocations: 304.9 kB / 0.6309 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002515/0.9194, allocations: 1.895 MB / 0.6328 GB, free: 12.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003548/0.9229, allocations: 4.384 MB / 0.6371 GB, free: 6.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006503/0.9294, allocations: 6.79 MB / 0.6437 GB, free: 15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-05/0.9295, allocations: 28 kB / 0.6437 GB, free: 14.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01649/0.946, allocations: 6.978 MB / 0.6505 GB, free: 7.977 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.9461, allocations: 50.48 kB / 0.6506 GB, free: 7.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/0.9463, allocations: 84.09 kB / 0.6507 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/0.9484, allocations: 0.7472 MB / 0.6514 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003962/0.9524, allocations: 1.115 MB / 0.6525 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008427/0.9608, allocations: 5.546 MB / 0.6579 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/0.9651, allocations: 311.4 kB / 0.6582 GB, free: 16 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009169/0.966, allocations: 276 kB / 0.6584 GB, free: 15.75 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005121/0.9711, allocations: 2.529 MB / 0.6609 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/0.9722, allocations: 413.3 kB / 0.6613 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008125/0.9803, allocations: 4.243 MB / 0.6655 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/0.9803, allocations: 24 kB / 0.6655 GB, free: 8.508 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.9803, allocations: 4 kB / 0.6655 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.9804, allocations: 19.95 kB / 0.6655 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02476/1.005, allocations: 13.97 MB / 0.6791 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/1.005, allocations: 12 kB / 0.6792 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/1.007, allocations: 471.2 kB / 0.6796 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/1.009, allocations: 0.7045 MB / 0.6803 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/1.009, allocations: 67.98 kB / 0.6804 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/1.02, allocations: 7.293 MB / 0.6875 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001986/1.022, allocations: 1.842 MB / 0.6893 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/1.033, allocations: 6.741 MB / 0.6959 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002434/1.035, allocations: 0.751 MB / 0.6966 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007076/1.036, allocations: 60 kB / 0.6966 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.038, allocations: 167.9 kB / 0.6968 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004849/1.039, allocations: 237.1 kB / 0.697 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/1.039, allocations: 87.98 kB / 0.6971 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004408/1.043, allocations: 2.509 MB / 0.6996 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.043, allocations: 0 / 0.6996 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005947/1.049, allocations: 1.293 MB / 0.7008 GB, free: 3.477 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01245/1.062, allocations: 7.433 MB / 0.7081 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009135/1.071, allocations: 4.813 MB / 0.7128 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/1.071, allocations: 4 kB / 0.7128 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004092/1.075, allocations: 2.181 MB / 0.7149 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004944/1.08, allocations: 0.9813 MB / 0.7159 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3128/1.393, allocations: 46.27 MB / 0.7611 GB, free: 186.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004591/1.397, allocations: 4.495 MB / 0.7655 GB, free: 184.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003918/1.401, allocations: 1.356 MB / 0.7668 GB, free: 184.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003538/1.405, allocations: 2.544 MB / 0.7693 GB, free: 182.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/1.405, allocations: 0 / 0.7693 GB, free: 182.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1582/1.563, allocations: 109 MB / 0.8757 GB, free: 80.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.49/25.05, allocations: 4.062 kB / 0.8757 GB, free: 80.1 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.694040734000737] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 25.239483866997034 25.257014211 24.792786813 Calling exit ...