Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001665/0.001665, allocations: 121.4 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001931/0.001932, allocations: 210.5 kB / 21.41 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.521/1.521, allocations: 227.7 MB / 251.9 MB, free: 15.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 63.84 kB / 365.2 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1102, allocations: 50.54 MB / 415.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03591/0.1462, allocations: 28.61 MB / 444.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2638/0.41, allocations: 7.195 MB / 451.6 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006871/0.417, allocations: 259.2 kB / 451.8 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02854/0.4455, allocations: 13.11 MB / 464.9 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.457, allocations: 2.528 MB / 467.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006261/0.4633, allocations: 2.043 MB / 469.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02442/0.4877, allocations: 18.28 MB / 487.8 MB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0796/0.5674, allocations: 44.45 MB / 0.5198 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02045/0.5879, allocations: 9.921 MB / 0.5295 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02368/0.6116, allocations: 11.05 MB / 0.5403 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009996/0.6217, allocations: 2.918 MB / 0.5431 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/0.6348, allocations: 3.202 MB / 0.5462 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01073/0.6456, allocations: 5.48 MB / 0.5516 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02262/0.6682, allocations: 10.82 MB / 0.5621 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05437/0.7226, allocations: 39.1 MB / 0.6003 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.7227, allocations: 3.938 kB / 0.6003 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.639e-06/0.7227, allocations: 0 / 0.6003 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.00113/0.7239, allocations: 3.938 kB / 0.6003 GB, free: 15.93 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.07416/0.798, allocations: 22.31 MB / 0.6221 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.7981, allocations: 8.031 kB / 0.6221 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01137/0.8095, allocations: 2.964 MB / 0.625 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4838/1.293, allocations: 8.243 MB / 0.6331 GB, free: 135.3 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02648/1.32, allocations: 11.67 MB / 0.6445 GB, free: 134.1 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0018/1.322, allocations: 1.339 MB / 0.6458 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01037/1.332, allocations: 1.758 MB / 0.6475 GB, free: 132.9 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08595/1.418, allocations: 28.77 MB / 0.6756 GB, free: 120.7 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006136/1.419, allocations: 23.75 kB / 0.6756 GB, free: 120.7 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006051/1.425, allocations: 0.7245 MB / 0.6763 GB, free: 120.1 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001063/1.426, allocations: 0.8426 MB / 0.6772 GB, free: 120 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04745/1.473, allocations: 24.84 MB / 0.7014 GB, free: 99.59 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1281/1.601, allocations: 87.52 MB / 0.7869 GB, free: 11.35 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03278/1.634, allocations: 35.16 MB / 0.8212 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01121/1.646, allocations: 5.446 MB / 0.8265 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008866/1.646, allocations: 323.3 kB / 0.8269 GB, free: 15.12 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/1.647, allocations: 95.02 kB / 0.8269 GB, free: 15.02 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 1.212e-05/1.647, allocations: 4 kB / 0.8269 GB, free: 15.01 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.04122/1.688, allocations: 14.81 MB / 0.8414 GB, free: 96 kB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/1.688, allocations: 137.7 kB / 0.8415 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0151/1.703, allocations: 6.426 MB / 0.8478 GB, free: 9.645 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001272/1.704, allocations: 117.7 kB / 0.8479 GB, free: 9.523 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.006886/1.711, allocations: 7.902 MB / 0.8556 GB, free: 1.73 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.4805/2.192, allocations: 2.104 MB / 0.8577 GB, free: 179.4 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003845/2.196, allocations: 2.116 MB / 0.8598 GB, free: 179.3 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/2.196, allocations: 306.4 kB / 0.8601 GB, free: 179 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008108/2.204, allocations: 4.742 MB / 0.8647 GB, free: 179 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01274/2.217, allocations: 9.474 MB / 0.8739 GB, free: 173.1 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02261/2.239, allocations: 15.33 MB / 0.8889 GB, free: 162.7 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004029/2.24, allocations: 45.38 kB / 0.889 GB, free: 162.7 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03288/2.273, allocations: 15.45 MB / 0.904 GB, free: 156.8 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003617/2.273, allocations: 74.47 kB / 0.9041 GB, free: 156.8 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004372/2.274, allocations: 163 kB / 0.9043 GB, free: 156.8 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005561/2.279, allocations: 1.655 MB / 0.9059 GB, free: 156.5 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008307/2.288, allocations: 2.365 MB / 0.9082 GB, free: 156.2 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/2.302, allocations: 11.61 MB / 0.9195 GB, free: 150.2 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009272/2.311, allocations: 1.377 MB / 0.9209 GB, free: 149.8 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00261/2.314, allocations: 0.5333 MB / 0.9214 GB, free: 149.7 MB / 0.5764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01544/2.33, allocations: 7.141 MB / 0.9284 GB, free: 146.5 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002164/2.332, allocations: 0.6487 MB / 0.929 GB, free: 146.2 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/2.349, allocations: 10.1 MB / 0.9389 GB, free: 141.1 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01146/2.361, allocations: 7.809 MB / 0.9465 GB, free: 134.3 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.96e-05/2.361, allocations: 15.94 kB / 0.9465 GB, free: 134.3 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/2.361, allocations: 30.11 kB / 0.9465 GB, free: 134.3 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04998/2.411, allocations: 25.74 MB / 0.9717 GB, free: 110.1 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.473e-05/2.411, allocations: 8 kB / 0.9717 GB, free: 110.1 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004121/2.415, allocations: 1.015 MB / 0.9727 GB, free: 109.1 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004878/2.42, allocations: 1.471 MB / 0.9741 GB, free: 107.6 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001111/2.421, allocations: 138.9 kB / 0.9742 GB, free: 107.5 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/2.435, allocations: 11.16 MB / 0.9851 GB, free: 96.25 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/2.435, allocations: 15.88 kB / 0.9852 GB, free: 96.23 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/2.455, allocations: 14.16 MB / 0.999 GB, free: 81.72 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003459/2.459, allocations: 1.487 MB / 1 GB, free: 80.29 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001843/2.46, allocations: 104 kB / 1.001 GB, free: 80.19 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004014/2.464, allocations: 319.7 kB / 1.001 GB, free: 79.88 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/2.466, allocations: 408.4 kB / 1.001 GB, free: 79.48 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007291/2.466, allocations: 176 kB / 1.001 GB, free: 79.3 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.008682/2.475, allocations: 4.305 MB / 1.006 GB, free: 75.03 MB / 0.5764 GB Notification: Performance of sort global known variables: time 1.272e-06/2.475, allocations: 0 / 1.006 GB, free: 75.03 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01568/2.491, allocations: 4.096 MB / 1.01 GB, free: 71.41 MB / 0.5764 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02258/2.513, allocations: 14.97 MB / 1.024 GB, free: 56.11 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.0167/2.53, allocations: 11.4 MB / 1.035 GB, free: 44.66 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/2.53, allocations: 3.062 kB / 1.035 GB, free: 44.66 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.007138/2.537, allocations: 4.664 MB / 1.04 GB, free: 39.98 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/2.548, allocations: 1.561 MB / 1.041 GB, free: 38.48 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4277/2.976, allocations: 94.51 MB / 1.134 GB, free: 138.1 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02181/2.998, allocations: 11.26 MB / 1.145 GB, free: 132.2 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.01058/3.008, allocations: 3.77 MB / 1.148 GB, free: 130.5 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01067/3.019, allocations: 5.946 MB / 1.154 GB, free: 125.1 MB / 0.5764 GB Notification: Performance of SimCode: time 2.214e-06/3.019, allocations: 0 / 1.154 GB, free: 125.1 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5493/3.569, allocations: 205.1 MB / 1.355 GB, free: 152.7 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.6/30.17, allocations: 10.33 kB / 1.355 GB, free: 152.7 MB / 0.592 GB " [Timeout remaining time 630] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 32.98393806407694] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.plug_p.reference.gamma'] 30.355609477031976 30.370453621 29.645033481 Calling exit ...