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.001933/0.001933, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002245/0.002245, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.002026/0.002026, allocations: 60.77 kB / 378.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2876, allocations: 53.36 MB / 432 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01719/0.3048, allocations: 13.03 MB / 445 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009897/0.3147, allocations: 4.273 MB / 449.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003024/0.3177, allocations: 103.3 kB / 449.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00323/0.321, allocations: 1.03 MB / 450.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.3259, allocations: 1.251 MB / 451.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.3278, allocations: 0.5382 MB / 452.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007184/0.335, allocations: 4.655 MB / 456.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/0.3385, allocations: 2.081 MB / 458.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00521/0.3438, allocations: 2.18 MB / 461.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005492/0.3492, allocations: 2.627 MB / 463.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001803/0.3511, allocations: 0.5547 MB / 464.3 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.3534, allocations: 0.6561 MB / 464.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.3553, allocations: 1.539 MB / 466.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004712/0.3601, allocations: 2.489 MB / 469 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.3712, allocations: 7.463 MB / 476.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.3712, allocations: 3.938 kB / 476.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3712, allocations: 0 / 476.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003023/0.3715, allocations: 0 / 476.4 MB, free: 10.18 MB / 382.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.01399/0.3855, allocations: 4.748 MB / 481.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.3855, allocations: 8.031 kB / 481.2 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001228/0.3868, allocations: 0.4981 MB / 481.7 MB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.3888, allocations: 0.5526 MB / 482.2 MB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006161/0.3949, allocations: 2.54 MB / 484.8 MB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.3952, allocations: 271 kB / 485 MB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009368/0.3962, allocations: 359.9 kB / 485.4 MB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.4072, allocations: 5.021 MB / 490.4 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.721e-05/0.4073, allocations: 11.95 kB / 490.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000469/0.4078, allocations: 144 kB / 490.6 MB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002327/0.408, allocations: 187 kB / 490.7 MB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009489/0.4175, allocations: 4.298 MB / 495 MB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/0.4462, allocations: 14.59 MB / 0.4977 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004389/0.4506, allocations: 2.706 MB / 0.5003 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003385/0.454, allocations: 1.866 MB / 0.5022 GB, free: 3.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/0.4543, allocations: 54.53 kB / 0.5022 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/0.4543, allocations: 60.5 kB / 0.5023 GB, free: 3.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.499e-06/0.4543, allocations: 0 / 0.5023 GB, free: 3.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02168/0.476, allocations: 9.616 MB / 0.5117 GB, free: 10.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.4761, allocations: 77.34 kB / 0.5117 GB, free: 10.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0053/0.4814, allocations: 2.514 MB / 0.5142 GB, free: 7.512 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003483/0.4817, allocations: 65.7 kB / 0.5142 GB, free: 7.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.4833, allocations: 1.662 MB / 0.5159 GB, free: 5.762 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009276/0.4842, allocations: 0.763 MB / 0.5166 GB, free: 4.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009911/0.4852, allocations: 420.4 kB / 0.517 GB, free: 4.574 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4854, allocations: 301.1 kB / 0.5173 GB, free: 4.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/0.4877, allocations: 1.301 MB / 0.5186 GB, free: 2.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002812/0.4905, allocations: 1.774 MB / 0.5203 GB, free: 1.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005512/0.496, allocations: 3.219 MB / 0.5235 GB, free: 13.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/0.496, allocations: 4 kB / 0.5235 GB, free: 13.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.0085/0.5045, allocations: 4.073 MB / 0.5274 GB, free: 9.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.5046, allocations: 8 kB / 0.5274 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.866e-05/0.5046, allocations: 16 kB / 0.5275 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/0.5076, allocations: 0.8796 MB / 0.5283 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.5099, allocations: 0.5227 MB / 0.5288 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2419/0.7519, allocations: 9.174 MB / 0.5378 GB, free: 96.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.7543, allocations: 125.9 kB / 0.5379 GB, free: 96.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003054/0.7546, allocations: 89.78 kB / 0.538 GB, free: 96.43 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.002472/0.7571, allocations: 1.212 MB / 0.5392 GB, free: 96.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007354/0.7578, allocations: 289.5 kB / 0.5395 GB, free: 96.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006242/0.7641, allocations: 3.695 MB / 0.5431 GB, free: 95.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.7641, allocations: 22.78 kB / 0.5431 GB, free: 95.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.7641, allocations: 6.875 kB / 0.5431 GB, free: 95.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.484e-05/0.7642, allocations: 16.55 kB / 0.5431 GB, free: 95.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.7777, allocations: 7.991 MB / 0.5509 GB, free: 92.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.7777, allocations: 2.188 kB / 0.5509 GB, free: 92.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.7794, allocations: 388.8 kB / 0.5513 GB, free: 92.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002783/0.7822, allocations: 0.9305 MB / 0.5522 GB, free: 91.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/0.7824, allocations: 59.88 kB / 0.5522 GB, free: 91.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009074/0.7915, allocations: 10.68 MB / 0.5627 GB, free: 82.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.7915, allocations: 11.94 kB / 0.5627 GB, free: 82.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00743/0.7989, allocations: 5.508 MB / 0.5681 GB, free: 77.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/0.8008, allocations: 0.578 MB / 0.5686 GB, free: 76.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/0.8013, allocations: 59.08 kB / 0.5687 GB, free: 76.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.8026, allocations: 111.9 kB / 0.5688 GB, free: 76.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004306/0.803, allocations: 193.6 kB / 0.569 GB, free: 76.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.8031, allocations: 56.08 kB / 0.569 GB, free: 76.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002126/0.8053, allocations: 1.746 MB / 0.5707 GB, free: 74.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8053, allocations: 0 / 0.5707 GB, free: 74.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00222/0.8075, allocations: 0.795 MB / 0.5715 GB, free: 73.93 MB / 446.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.007021/0.8145, allocations: 6.187 MB / 0.5776 GB, free: 67.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004946/0.8194, allocations: 3.624 MB / 0.5811 GB, free: 64.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.8194, allocations: 0 / 0.5811 GB, free: 64.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002971/0.8224, allocations: 2.308 MB / 0.5833 GB, free: 61.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/0.8258, allocations: 0.7979 MB / 0.5841 GB, free: 60.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0393/0.8651, allocations: 29.66 MB / 0.6131 GB, free: 30.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/0.8679, allocations: 2.781 MB / 0.6158 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001987/0.8699, allocations: 0.679 MB / 0.6165 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/0.8715, allocations: 1.409 MB / 0.6178 GB, free: 25.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8715, allocations: 8 kB / 0.6179 GB, free: 25.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1557/1.027, allocations: 76.13 MB / 0.6922 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/17.04, allocations: 0 / 0.6922 GB, free: 14.13 MB / 0.4981 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.816149791702628] 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.17942240415141 17.210147031 16.833042159 Calling exit ...