Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9366/0.9366, allocations: 177.1 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 159.2 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02327/0.02327, allocations: 6.664 MB / 319 MB, free: 26.76 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Transformer,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Transformer,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 449.4 MB, free: 33.53 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.126e-05, allocations: 2.281 kB / 449.4 MB, free: 33.53 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.02713/0.02715, allocations: 42.91 MB / 492.3 MB, free: 6.426 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02733/0.05448, allocations: 12.8 MB / 0.4932 GB, free: 9.586 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009414/0.0639, allocations: 457.6 kB / 0.4937 GB, free: 9.137 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01936/0.08326, allocations: 13.69 MB / 0.507 GB, free: 11.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0174/0.1007, allocations: 5.703 MB / 0.5126 GB, free: 5.676 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007518/0.1082, allocations: 3.353 MB / 0.5159 GB, free: 2.348 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02599/0.1342, allocations: 25.37 MB / 0.5407 GB, free: 8.875 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.479/0.6132, allocations: 30.06 MB / 0.57 GB, free: 24.95 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.036/0.6492, allocations: 19.01 MB / 0.5886 GB, free: 24.95 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02091/0.6701, allocations: 12.16 MB / 0.6005 GB, free: 24.95 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01092/0.681, allocations: 3.622 MB / 0.604 GB, free: 24.95 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/0.6965, allocations: 4.134 MB / 0.608 GB, free: 24.95 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01237/0.7089, allocations: 7.453 MB / 0.6153 GB, free: 23.39 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02212/0.731, allocations: 9.303 MB / 0.6244 GB, free: 18.16 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.05324/0.7842, allocations: 49.46 MB / 0.6727 GB, free: 4.172 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.7843, allocations: 0 / 0.6727 GB, free: 4.172 MB / 458.8 MB Notification: Performance of FrontEnd: time 5.44e-06/0.7843, allocations: 4 kB / 0.6727 GB, free: 4.168 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001755/0.786, allocations: 0 / 0.6727 GB, free: 4.168 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.07637/0.8624, allocations: 27.86 MB / 0.6999 GB, free: 8.406 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.8624, allocations: 8.031 kB / 0.6999 GB, free: 8.398 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01151/0.8739, allocations: 2.986 MB / 0.7028 GB, free: 5.422 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04311/0.9171, allocations: 13.82 MB / 0.7163 GB, free: 7.73 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0288/0.9459, allocations: 15.25 MB / 0.7312 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001267/0.9471, allocations: 1.574 MB / 0.7328 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008146/0.9553, allocations: 2.071 MB / 0.7348 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4631/1.418, allocations: 35.39 MB / 0.7694 GB, free: 162.1 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001183/1.42, allocations: 34.84 kB / 0.7694 GB, free: 162.1 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007473/1.427, allocations: 0.8548 MB / 0.7702 GB, free: 161.4 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007523/1.428, allocations: 1.158 MB / 0.7714 GB, free: 161.3 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05792/1.486, allocations: 32.28 MB / 0.8029 GB, free: 146 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1449/1.631, allocations: 96.54 MB / 0.8972 GB, free: 49.88 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0219/1.653, allocations: 22.67 MB / 0.9193 GB, free: 30.46 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01413/1.667, allocations: 8.974 MB / 0.9281 GB, free: 21.44 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03077/1.697, allocations: 20.55 MB / 0.9481 GB, free: 1.32 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.061e-05/1.697, allocations: 125.9 kB / 0.9482 GB, free: 1.184 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=894): time 9.478e-06/1.697, allocations: 0 / 0.9482 GB, free: 1.184 MB / 0.5263 GB Notification: Performance of matching and sorting (n=906): time 0.3205/2.018, allocations: 39.08 MB / 0.9864 GB, free: 163.2 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/2.018, allocations: 170.7 kB / 0.9866 GB, free: 163.1 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/2.03, allocations: 8.595 MB / 0.995 GB, free: 160.1 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.001677/2.032, allocations: 173.6 kB / 0.9951 GB, free: 159.9 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.004178/2.036, allocations: 8.972 MB / 1.004 GB, free: 154.3 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.003238/2.04, allocations: 3.16 MB / 1.007 GB, free: 151.8 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004264/2.044, allocations: 2.218 MB / 1.009 GB, free: 150.8 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.557e-05/2.044, allocations: 308.8 kB / 1.009 GB, free: 150.5 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008261/2.052, allocations: 6.248 MB / 1.016 GB, free: 148.1 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/2.064, allocations: 10.03 MB / 1.025 GB, free: 141.1 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/2.081, allocations: 17.27 MB / 1.042 GB, free: 125.6 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001819/2.081, allocations: 32 kB / 1.042 GB, free: 125.6 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.02872/2.11, allocations: 20.21 MB / 1.062 GB, free: 108 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 8.563e-05/2.11, allocations: 56 kB / 1.062 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/2.11, allocations: 116 kB / 1.062 GB, free: 107.9 MB / 0.5419 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/2.112, allocations: 0.9232 MB / 1.063 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006321/2.118, allocations: 2.428 MB / 1.065 GB, free: 105.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007357/2.126, allocations: 11.87 MB / 1.077 GB, free: 93.19 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008501/2.134, allocations: 0.6009 MB / 1.078 GB, free: 92.59 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003104/2.137, allocations: 0.5195 MB / 1.078 GB, free: 92.07 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStep2QS[3].y,booleanStep2QS[2].y,booleanStep2QS[1].y,booleanStep1QS[3].y,booleanStep1QS[2].y,booleanStep1QS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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%), (204,1.3%)} * 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): 5 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01496/2.152, allocations: 7.931 MB / 1.086 GB, free: 84.12 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002157/2.154, allocations: 0.9549 MB / 1.087 GB, free: 83.16 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0211/2.175, allocations: 16.74 MB / 1.103 GB, free: 66.33 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.697e-05/2.175, allocations: 88 kB / 1.103 GB, free: 66.24 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.066e-05/2.175, allocations: 44 kB / 1.103 GB, free: 66.2 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001544/2.176, allocations: 43.83 kB / 1.103 GB, free: 66.16 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05434/2.23, allocations: 34.12 MB / 1.137 GB, free: 32.02 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/2.23, allocations: 9.062 kB / 1.137 GB, free: 32.02 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004476/2.234, allocations: 1.44 MB / 1.138 GB, free: 30.57 MB / 0.5419 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/2.236, allocations: 0.9663 MB / 1.139 GB, free: 29.59 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001439/2.238, allocations: 215.9 kB / 1.139 GB, free: 29.38 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008398/2.246, allocations: 16.29 MB / 1.155 GB, free: 12.32 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.246, allocations: 11.94 kB / 1.155 GB, free: 12.31 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2768/2.523, allocations: 24.59 MB / 1.179 GB, free: 148.7 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006608/2.53, allocations: 2.299 MB / 1.181 GB, free: 148 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002928/2.533, allocations: 178 kB / 1.182 GB, free: 147.9 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005748/2.538, allocations: 484.7 kB / 1.182 GB, free: 147.8 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002209/2.541, allocations: 0.8413 MB / 1.183 GB, free: 147.7 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006091/2.541, allocations: 270.6 kB / 1.183 GB, free: 147.6 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.008432/2.55, allocations: 5.707 MB / 1.189 GB, free: 145.5 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.61e-07/2.55, allocations: 0 / 1.189 GB, free: 145.5 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.01388/2.563, allocations: 3.473 MB / 1.192 GB, free: 145.2 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,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 (703): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(204,1.3%)} * 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): 7 systems {(1,1,100.0%), (1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03304/2.597, allocations: 25.55 MB / 1.217 GB, free: 134.6 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.02198/2.618, allocations: 15.36 MB / 1.232 GB, free: 124.8 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.955e-05/2.619, allocations: 4 kB / 1.232 GB, free: 124.8 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.01093/2.629, allocations: 8.145 MB / 1.24 GB, free: 117.8 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01245/2.642, allocations: 2.573 MB / 1.242 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2137/2.856, allocations: 128.6 MB / 1.368 GB, free: 1.84 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02564/2.881, allocations: 12.89 MB / 1.381 GB, free: 4.895 MB / 0.5732 GB Notification: Performance of simCode: alias equations: time 0.2345/3.116, allocations: 3.999 MB / 1.385 GB, free: 185.3 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01222/3.128, allocations: 7.865 MB / 1.392 GB, free: 183 MB / 0.5732 GB Notification: Performance of SimCode: time 1.653e-06/3.128, allocations: 0 / 1.392 GB, free: 183 MB / 0.5732 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5317/3.66, allocations: 292.1 MB / 1.677 GB, free: 131.3 MB / 0.5732 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.97/23.63, allocations: 6.375 kB / 1.677 GB, free: 131.3 MB / 0.5732 GB " [Timeout remaining time 636] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.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 HanserModelica_HanserModelica_InductionMachines_IMC_Transformer.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.282395081594586] Failed to read output from testmodel.py, exit status != 0: 23.845506510697305 23.852604213 23.066558188 Calling exit ...