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.00156/0.00156, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001813/0.001813, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.53/1.53, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.001957/0.001957, allocations: 75.83 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.116, allocations: 53.33 MB / 427 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2726/0.3887, allocations: 28.72 MB / 455.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02041/0.4091, allocations: 7.209 MB / 462.9 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00847/0.4175, allocations: 311.1 kB / 463.3 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03467/0.4522, allocations: 13.22 MB / 476.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01428/0.4665, allocations: 2.562 MB / 479 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00811/0.4746, allocations: 2.035 MB / 481.1 MB, free: 7.352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02774/0.5023, allocations: 18.3 MB / 499.4 MB, free: 8.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07855/0.5809, allocations: 34.26 MB / 0.5211 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01942/0.6003, allocations: 10.12 MB / 0.531 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02172/0.622, allocations: 11.12 MB / 0.5419 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0109/0.6329, allocations: 2.922 MB / 0.5447 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.014/0.6469, allocations: 3.195 MB / 0.5478 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01192/0.6588, allocations: 5.495 MB / 0.5532 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02427/0.6831, allocations: 10.83 MB / 0.5638 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05761/0.7407, allocations: 39.1 MB / 0.6019 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.7407, allocations: 0 / 0.6019 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7407, allocations: 0 / 0.6019 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001242/0.742, allocations: 4 kB / 0.602 GB, free: 3.102 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.5831/1.325, allocations: 22.3 MB / 0.6237 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.325, allocations: 13.59 kB / 0.6237 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01023/1.335, allocations: 2.959 MB / 0.6266 GB, free: 134.4 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04781/1.383, allocations: 8.247 MB / 0.6347 GB, free: 133 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02909/1.412, allocations: 11.68 MB / 0.6461 GB, free: 127.7 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00168/1.414, allocations: 1.346 MB / 0.6474 GB, free: 127 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008047/1.422, allocations: 1.761 MB / 0.6491 GB, free: 126.5 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07103/1.493, allocations: 28.77 MB / 0.6772 GB, free: 103.2 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007909/1.494, allocations: 15.89 kB / 0.6772 GB, free: 103.2 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005747/1.5, allocations: 0.7259 MB / 0.678 GB, free: 102.5 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006589/1.5, allocations: 0.8493 MB / 0.6788 GB, free: 101.7 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04914/1.549, allocations: 24.84 MB / 0.703 GB, free: 76.8 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1361/1.685, allocations: 87.52 MB / 0.7885 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03601/1.721, allocations: 34.6 MB / 0.8223 GB, free: 14.66 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01027/1.732, allocations: 5.051 MB / 0.8272 GB, free: 9.594 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008599/1.733, allocations: 322.4 kB / 0.8275 GB, free: 9.238 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/1.733, allocations: 95.08 kB / 0.8276 GB, free: 9.133 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 7.283e-06/1.733, allocations: 0 / 0.8276 GB, free: 9.133 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.04153/1.774, allocations: 14.77 MB / 0.8421 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.774, allocations: 141.6 kB / 0.8422 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01517/1.79, allocations: 6.427 MB / 0.8485 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001292/1.791, allocations: 117.7 kB / 0.8486 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.4652/2.256, allocations: 7.898 MB / 0.8563 GB, free: 196.8 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.003172/2.259, allocations: 2.103 MB / 0.8583 GB, free: 195.7 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007779/2.267, allocations: 2.116 MB / 0.8604 GB, free: 195.5 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 6.154e-05/2.267, allocations: 304 kB / 0.8607 GB, free: 195.2 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/2.277, allocations: 4.743 MB / 0.8653 GB, free: 194.9 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01279/2.29, allocations: 9.476 MB / 0.8746 GB, free: 187.1 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01963/2.31, allocations: 15.33 MB / 0.8896 GB, free: 176 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003206/2.31, allocations: 46.38 kB / 0.8896 GB, free: 176 MB / 0.592 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02887/2.339, allocations: 15.42 MB / 0.9047 GB, free: 169.8 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002059/2.339, allocations: 73.25 kB / 0.9047 GB, free: 169.8 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002988/2.339, allocations: 157.8 kB / 0.9049 GB, free: 169.8 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005737/2.345, allocations: 1.658 MB / 0.9065 GB, free: 169.4 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008882/2.354, allocations: 2.357 MB / 0.9088 GB, free: 169.2 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/2.368, allocations: 11.62 MB / 0.9201 GB, free: 162.9 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008495/2.377, allocations: 1.369 MB / 0.9215 GB, free: 162.4 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002401/2.379, allocations: 0.5389 MB / 0.922 GB, free: 162 MB / 0.592 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.01357/2.393, allocations: 7.142 MB / 0.929 GB, free: 156.1 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/2.394, allocations: 0.652 MB / 0.9296 GB, free: 155.4 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/2.413, allocations: 10.07 MB / 0.9395 GB, free: 147 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01098/2.424, allocations: 7.757 MB / 0.947 GB, free: 139.6 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.903e-05/2.424, allocations: 16.81 kB / 0.947 GB, free: 139.6 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.071e-05/2.424, allocations: 32.75 kB / 0.9471 GB, free: 139.6 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04703/2.471, allocations: 25.7 MB / 0.9722 GB, free: 113.7 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.419e-05/2.471, allocations: 8 kB / 0.9722 GB, free: 113.7 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007093/2.478, allocations: 1.022 MB / 0.9732 GB, free: 112.7 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007677/2.486, allocations: 1.463 MB / 0.9746 GB, free: 111.2 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001492/2.488, allocations: 136 kB / 0.9747 GB, free: 111.1 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02074/2.508, allocations: 11.16 MB / 0.9856 GB, free: 99.8 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.601e-05/2.508, allocations: 19.86 kB / 0.9857 GB, free: 99.79 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02476/2.533, allocations: 14.14 MB / 0.9995 GB, free: 85.3 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004242/2.537, allocations: 1.475 MB / 1.001 GB, free: 83.8 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00219/2.539, allocations: 116 kB / 1.001 GB, free: 83.69 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004487/2.544, allocations: 311.7 kB / 1.001 GB, free: 83.39 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001425/2.545, allocations: 408.4 kB / 1.002 GB, free: 82.98 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007942/2.546, allocations: 176 kB / 1.002 GB, free: 82.81 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.008364/2.555, allocations: 4.309 MB / 1.006 GB, free: 78.54 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.21e-07/2.555, allocations: 0 / 1.006 GB, free: 78.54 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.01428/2.569, allocations: 4.079 MB / 1.01 GB, free: 74.44 MB / 0.592 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.02275/2.592, allocations: 14.93 MB / 1.025 GB, free: 59.16 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.01789/2.609, allocations: 10.95 MB / 1.035 GB, free: 48.16 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/2.609, allocations: 4.375 kB / 1.035 GB, free: 48.16 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.007622/2.617, allocations: 4.346 MB / 1.04 GB, free: 43.8 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01072/2.628, allocations: 1.562 MB / 1.041 GB, free: 42.3 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4716/3.099, allocations: 94.47 MB / 1.133 GB, free: 150.8 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02048/3.12, allocations: 11.26 MB / 1.144 GB, free: 143.4 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.008884/3.129, allocations: 3.767 MB / 1.148 GB, free: 139.7 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008945/3.138, allocations: 5.951 MB / 1.154 GB, free: 133.7 MB / 0.592 GB Notification: Performance of SimCode: time 1.703e-06/3.138, allocations: 4 kB / 1.154 GB, free: 133.7 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5253/3.663, allocations: 208.8 MB / 1.358 GB, free: 166 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.72/33.39, allocations: 7.234 kB / 1.358 GB, free: 166 MB / 0.6077 GB " [Timeout remaining time 626] (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: 36.215429421979934] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.plug_p.reference.gamma'] 33.57596830511466 33.591357738 32.846786349 Calling exit ...