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.0007357/0.0007357, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.9095/0.9095, allocations: 177.1 MB / 199.4 MB, free: 5.953 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.0009836/0.0009836, allocations: 152.6 kB / 256 MB, free: 13.36 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.02195/0.02195, allocations: 6.673 MB / 319 MB, free: 26.77 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.353e-06/1.353e-06, allocations: 0 / 449.4 MB, free: 33.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.077e-05, allocations: 2.281 kB / 449.4 MB, free: 33.68 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.02622/0.02624, allocations: 42.92 MB / 492.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02613/0.05237, allocations: 12.79 MB / 0.4932 GB, free: 9.734 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.06241, allocations: 457.6 kB / 0.4937 GB, free: 9.285 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01696/0.07937, allocations: 13.69 MB / 0.507 GB, free: 11.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01448/0.09386, allocations: 5.706 MB / 0.5126 GB, free: 5.824 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007124/0.101, allocations: 3.367 MB / 0.5159 GB, free: 2.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02304/0.124, allocations: 25.36 MB / 0.5407 GB, free: 9.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3543/0.4783, allocations: 30.06 MB / 0.57 GB, free: 16.66 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02381/0.5021, allocations: 19.01 MB / 0.5886 GB, free: 14.96 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02002/0.5221, allocations: 12.17 MB / 0.6005 GB, free: 11.55 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00879/0.5309, allocations: 3.623 MB / 0.604 GB, free: 11.55 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/0.5411, allocations: 4.14 MB / 0.608 GB, free: 7.719 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008306/0.5494, allocations: 7.452 MB / 0.6153 GB, free: 2.516 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02027/0.5697, allocations: 9.48 MB / 0.6246 GB, free: 11.17 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04393/0.6136, allocations: 49.46 MB / 0.6729 GB, free: 11.08 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.6136, allocations: 4 kB / 0.6729 GB, free: 11.07 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.367e-06/0.6137, allocations: 0 / 0.6729 GB, free: 11.07 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.00184/0.6155, allocations: 0 / 0.6729 GB, free: 11.07 MB / 474.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.06512/0.6806, allocations: 27.85 MB / 0.7001 GB, free: 15.32 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.6807, allocations: 8.031 kB / 0.7001 GB, free: 15.31 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009227/0.6899, allocations: 2.995 MB / 0.703 GB, free: 12.32 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04056/0.7305, allocations: 13.82 MB / 0.7165 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02897/0.7594, allocations: 15.24 MB / 0.7314 GB, free: 15.93 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001397/0.7608, allocations: 1.575 MB / 0.7329 GB, free: 14.38 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006933/0.7678, allocations: 2.081 MB / 0.735 GB, free: 12.31 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4022/1.17, allocations: 35.38 MB / 0.7695 GB, free: 162 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003876/1.17, allocations: 34 kB / 0.7696 GB, free: 162 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002083/1.172, allocations: 0.8573 MB / 0.7704 GB, free: 161.4 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006003/1.173, allocations: 1.149 MB / 0.7715 GB, free: 161.2 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04284/1.216, allocations: 32.28 MB / 0.803 GB, free: 137.2 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1177/1.334, allocations: 96.54 MB / 0.8973 GB, free: 41.01 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01922/1.353, allocations: 22.66 MB / 0.9195 GB, free: 21.6 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008338/1.361, allocations: 8.975 MB / 0.9282 GB, free: 12.58 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02547/1.387, allocations: 20.54 MB / 0.9483 GB, free: 8.465 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.075e-05/1.387, allocations: 133.9 kB / 0.9484 GB, free: 8.32 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=894): time 9.007e-06/1.387, allocations: 0 / 0.9484 GB, free: 8.32 MB / 0.5419 GB Notification: Performance of matching and sorting (n=906): time 0.2563/1.643, allocations: 39.09 MB / 0.9866 GB, free: 160.4 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/1.643, allocations: 170.3 kB / 0.9867 GB, free: 160.3 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009164/1.652, allocations: 8.601 MB / 0.9951 GB, free: 157.3 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.001083/1.653, allocations: 172.8 kB / 0.9953 GB, free: 157.1 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.003044/1.656, allocations: 8.972 MB / 1.004 GB, free: 151.5 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002175/1.659, allocations: 3.164 MB / 1.007 GB, free: 149 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002389/1.661, allocations: 2.222 MB / 1.009 GB, free: 147.9 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.299e-05/1.661, allocations: 304.1 kB / 1.01 GB, free: 147.6 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00586/1.667, allocations: 6.248 MB / 1.016 GB, free: 145.3 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006524/1.673, allocations: 10.03 MB / 1.026 GB, free: 135.6 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/1.686, allocations: 17.27 MB / 1.042 GB, free: 118.3 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/1.687, allocations: 32 kB / 1.042 GB, free: 118.3 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.02268/1.709, allocations: 20.21 MB / 1.062 GB, free: 100.5 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/1.709, allocations: 56 kB / 1.062 GB, free: 100.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/1.709, allocations: 116 kB / 1.062 GB, free: 100.3 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.001522/1.711, allocations: 0.924 MB / 1.063 GB, free: 99.41 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/1.716, allocations: 2.426 MB / 1.066 GB, free: 96.98 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005762/1.721, allocations: 11.87 MB / 1.077 GB, free: 84.58 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005091/1.726, allocations: 0.6018 MB / 1.078 GB, free: 83.98 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006431/1.727, allocations: 0.5233 MB / 1.078 GB, free: 83.46 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.009218/1.736, allocations: 7.925 MB / 1.086 GB, free: 75.52 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/1.738, allocations: 0.951 MB / 1.087 GB, free: 74.56 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01686/1.755, allocations: 16.75 MB / 1.103 GB, free: 57.72 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/1.755, allocations: 92 kB / 1.103 GB, free: 57.63 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.828e-05/1.755, allocations: 44 kB / 1.103 GB, free: 57.59 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.427e-05/1.755, allocations: 51.75 kB / 1.103 GB, free: 57.54 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03746/1.792, allocations: 34.1 MB / 1.137 GB, free: 23.42 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/1.792, allocations: 7.984 kB / 1.137 GB, free: 23.41 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003125/1.796, allocations: 1.436 MB / 1.138 GB, free: 21.97 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.001736/1.797, allocations: 0.9781 MB / 1.139 GB, free: 20.97 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004918/1.798, allocations: 215.9 kB / 1.139 GB, free: 20.76 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008125/1.806, allocations: 16.28 MB / 1.155 GB, free: 3.715 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.806, allocations: 7.938 kB / 1.155 GB, free: 3.707 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2371/2.043, allocations: 24.6 MB / 1.179 GB, free: 148 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006072/2.049, allocations: 2.292 MB / 1.182 GB, free: 147.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002744/2.052, allocations: 177.3 kB / 1.182 GB, free: 147.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005955/2.058, allocations: 485.1 kB / 1.182 GB, free: 147.1 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00241/2.06, allocations: 0.8402 MB / 1.183 GB, free: 147 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007602/2.061, allocations: 274.8 kB / 1.183 GB, free: 146.9 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.008176/2.069, allocations: 5.707 MB / 1.189 GB, free: 144.9 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.8e-07/2.069, allocations: 0 / 1.189 GB, free: 144.9 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.01127/2.08, allocations: 3.47 MB / 1.192 GB, free: 144.6 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.03172/2.112, allocations: 25.56 MB / 1.217 GB, free: 131.2 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.02098/2.133, allocations: 15.37 MB / 1.232 GB, free: 118 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/2.133, allocations: 4 kB / 1.232 GB, free: 118 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.01097/2.144, allocations: 8.145 MB / 1.24 GB, free: 111 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01241/2.157, allocations: 2.571 MB / 1.243 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1963/2.353, allocations: 128.6 MB / 1.368 GB, free: 10.32 MB / 0.5731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2065/2.559, allocations: 12.89 MB / 1.381 GB, free: 190.7 MB / 0.5731 GB Notification: Performance of simCode: alias equations: time 0.008726/2.568, allocations: 4 MB / 1.385 GB, free: 190.4 MB / 0.5731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009991/2.578, allocations: 7.862 MB / 1.392 GB, free: 186.7 MB / 0.5731 GB Notification: Performance of SimCode: time 1.543e-06/2.578, allocations: 0 / 1.392 GB, free: 186.7 MB / 0.5731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5031/3.081, allocations: 292.1 MB / 1.678 GB, free: 120.3 MB / 0.5731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.68/20.76, allocations: 7.984 kB / 1.678 GB, free: 120.3 MB / 0.5731 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMC_Transformer.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 38.082653793506324] Failed to read output from testmodel.py, exit status != 0: 20.97121941484511 20.977869052 20.362681637 Calling exit ...