Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.001334/0.001334, allocations: 120 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.00143/0.00143, allocations: 213.6 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.515/1.515, 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.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",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.00206/0.00206, allocations: 71.83 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1154, allocations: 53.32 MB / 427 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.2197/0.3351, allocations: 12.98 MB / 440 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008236/0.3434, allocations: 4.278 MB / 444.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.3467, allocations: 103.3 kB / 444.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003526/0.3502, allocations: 1.021 MB / 445.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.3559, allocations: 1.229 MB / 446.6 MB, free: 264 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.3581, allocations: 0.5258 MB / 447.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00875/0.3669, allocations: 4.657 MB / 451.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004781/0.3717, allocations: 2.693 MB / 454.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00547/0.3771, allocations: 2.183 MB / 456.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005806/0.3829, allocations: 2.626 MB / 459.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002048/0.385, allocations: 0.552 MB / 459.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.3881, allocations: 0.6562 MB / 460.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002958/0.3911, allocations: 1.537 MB / 462.1 MB, free: 9.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006225/0.3973, allocations: 2.49 MB / 464.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.4113, allocations: 7.466 MB / 472 MB, free: 2.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4114, allocations: 1.375 kB / 472 MB, free: 2.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4114, allocations: 0 / 472 MB, free: 2.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003022/0.4117, allocations: 0 / 472 MB, free: 2.027 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01564/0.4273, allocations: 4.829 MB / 476.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.4274, allocations: 9.625 kB / 476.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001607/0.429, allocations: 0.4995 MB / 477.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/0.4313, allocations: 0.5467 MB / 477.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/0.4374, allocations: 2.608 MB / 480.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002723/0.4377, allocations: 267 kB / 480.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00096/0.4387, allocations: 359.9 kB / 481.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.4502, allocations: 5.025 MB / 486.2 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.4503, allocations: 7.953 kB / 486.2 MB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005521/0.4509, allocations: 144 kB / 486.3 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002189/0.4511, allocations: 183.1 kB / 486.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009634/0.4608, allocations: 4.298 MB / 490.8 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0335/0.4943, allocations: 14.76 MB / 0.4937 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005728/0.5, allocations: 4.051 MB / 0.4977 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/0.5037, allocations: 1.874 MB / 0.4995 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/0.5041, allocations: 135 kB / 0.4996 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.555e-05/0.5041, allocations: 61.5 kB / 0.4997 GB, free: 11.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.636e-06/0.5041, allocations: 384 / 0.4997 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02318/0.5273, allocations: 10 MB / 0.5094 GB, free: 1.316 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.5274, allocations: 73.41 kB / 0.5095 GB, free: 1.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005619/0.533, allocations: 2.522 MB / 0.512 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004788/0.5335, allocations: 65.7 kB / 0.512 GB, free: 14.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.5351, allocations: 1.662 MB / 0.5137 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.5361, allocations: 0.7668 MB / 0.5144 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.5373, allocations: 416.5 kB / 0.5148 GB, free: 11.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5374, allocations: 301.1 kB / 0.5151 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/0.5399, allocations: 1.304 MB / 0.5164 GB, free: 10.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/0.5427, allocations: 1.775 MB / 0.5181 GB, free: 8.184 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/0.5479, allocations: 3.215 MB / 0.5212 GB, free: 4.785 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.548, allocations: 4 kB / 0.5212 GB, free: 4.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008064/0.556, allocations: 4.073 MB / 0.5252 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.5561, allocations: 8 kB / 0.5252 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.5561, allocations: 16 kB / 0.5252 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/0.5591, allocations: 0.8793 MB / 0.5261 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/0.5615, allocations: 0.5266 MB / 0.5266 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.5737, allocations: 9.471 MB / 0.5359 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.5762, allocations: 123.9 kB / 0.536 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004374/0.5767, allocations: 80 kB / 0.5361 GB, free: 5.152 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002823/0.5795, allocations: 1.219 MB / 0.5373 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009803/0.5805, allocations: 294.1 kB / 0.5375 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007742/0.5882, allocations: 3.699 MB / 0.5411 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.5882, allocations: 20 kB / 0.5412 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/0.5882, allocations: 8 kB / 0.5412 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/0.5883, allocations: 11.95 kB / 0.5412 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/0.6067, allocations: 8.002 MB / 0.549 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/0.6067, allocations: 8 kB / 0.549 GB, free: 7.734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/0.6085, allocations: 387.8 kB / 0.5494 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003504/0.6121, allocations: 0.9284 MB / 0.5503 GB, free: 6.414 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003854/0.6124, allocations: 55.97 kB / 0.5503 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/0.6268, allocations: 11.11 MB / 0.5612 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.6268, allocations: 4 kB / 0.5612 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/0.6372, allocations: 5.506 MB / 0.5666 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/0.639, allocations: 0.6475 MB / 0.5672 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008202/0.6398, allocations: 44 kB / 0.5672 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/0.6417, allocations: 111.9 kB / 0.5673 GB, free: 4.289 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005197/0.6422, allocations: 185.7 kB / 0.5675 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/0.6424, allocations: 63.98 kB / 0.5676 GB, free: 4.043 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004161/0.6465, allocations: 1.735 MB / 0.5693 GB, free: 2.297 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6465, allocations: 3.938 kB / 0.5693 GB, free: 2.293 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004501/0.651, allocations: 0.8007 MB / 0.5701 GB, free: 1.492 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01145/0.6625, allocations: 6.204 MB / 0.5761 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007468/0.67, allocations: 3.767 MB / 0.5798 GB, free: 7.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.67, allocations: 3.938 kB / 0.5798 GB, free: 7.371 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004616/0.6746, allocations: 2.386 MB / 0.5821 GB, free: 4.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0048/0.6794, allocations: 0.7898 MB / 0.5829 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06235/0.7417, allocations: 29.61 MB / 0.6118 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004468/0.7462, allocations: 2.774 MB / 0.6145 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002797/0.749, allocations: 0.6907 MB / 0.6152 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002757/0.7518, allocations: 1.413 MB / 0.6166 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of SimCode: time 1.343e-06/0.7518, allocations: 3.938 kB / 0.6166 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3534/1.105, allocations: 74.32 MB / 0.6892 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.96/17.07, allocations: 4.062 kB / 0.6892 GB, free: 121.1 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.84271260909736] Failed to read output from testmodel.py, exit status != 0: ['time', '// aimc.i_0_s', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 17.19487544428557 17.209806362 16.79505296 Calling exit ...