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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 244.8 MB, free: 14.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 192.4 kB / 299.8 MB, free: 9.852 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04146/0.04146, allocations: 8.937 MB / 363.6 MB, free: 10.2 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002433/0.002433, allocations: 85.5 kB / 489.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1193, allocations: 54.41 MB / 0.5312 GB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.05921/0.1785, allocations: 49.69 MB / 0.5798 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02984/0.2083, allocations: 12.91 MB / 0.5924 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01321/0.2215, allocations: 382.8 kB / 0.5927 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03431/0.2558, allocations: 13.97 MB / 0.6064 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02319/0.279, allocations: 5.554 MB / 0.6118 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01472/0.2937, allocations: 3.238 MB / 0.615 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.6088/0.9025, allocations: 24.2 MB / 0.6386 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07168/0.9742, allocations: 35.5 MB / 0.6733 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0272/1.001, allocations: 13 MB / 0.686 GB, free: 0 / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02641/1.028, allocations: 14.01 MB / 0.6997 GB, free: 8.242 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0127/1.04, allocations: 3.625 MB / 0.7032 GB, free: 4.617 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02034/1.061, allocations: 4.118 MB / 0.7072 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01442/1.075, allocations: 7.324 MB / 0.7144 GB, free: 10.47 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02969/1.105, allocations: 13.79 MB / 0.7278 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.07276/1.178, allocations: 48.8 MB / 0.7755 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.178, allocations: 4 kB / 0.7755 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/1.178, allocations: 0 / 0.7755 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001366/1.179, allocations: 0 / 0.7755 GB, free: 15.04 MB / 0.5294 GB 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.1012/1.28, allocations: 28.11 MB / 0.8029 GB, free: 2.969 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.72e-05/1.28, allocations: 12.03 kB / 0.803 GB, free: 2.957 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01724/1.298, allocations: 2.986 MB / 0.8059 GB, free: 15.99 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.105/1.403, allocations: 14.04 MB / 0.8196 GB, free: 2.082 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04269/1.445, allocations: 15.04 MB / 0.8343 GB, free: 3.617 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003321/1.449, allocations: 1.572 MB / 0.8358 GB, free: 2.062 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01021/1.459, allocations: 2.071 MB / 0.8378 GB, free: 12 kB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.644/2.103, allocations: 34.72 MB / 0.8717 GB, free: 176.7 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001122/2.104, allocations: 34.64 kB / 0.8718 GB, free: 176.7 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007118/2.111, allocations: 0.8547 MB / 0.8726 GB, free: 176.1 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00114/2.112, allocations: 1.155 MB / 0.8737 GB, free: 175.9 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07114/2.183, allocations: 32.32 MB / 0.9053 GB, free: 162 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1948/2.378, allocations: 106.5 MB / 1.009 GB, free: 62.32 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03829/2.417, allocations: 49.78 MB / 1.058 GB, free: 9.152 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01701/2.434, allocations: 8.976 MB / 1.067 GB, free: 124 kB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06411/2.498, allocations: 22.56 MB / 1.089 GB, free: 9.934 MB / 0.6233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/2.498, allocations: 129.9 kB / 1.089 GB, free: 9.793 MB / 0.6233 GB Notification: Performance of pre-optimization done (n=894): time 1.419e-05/2.498, allocations: 0 / 1.089 GB, free: 9.793 MB / 0.6233 GB Notification: Performance of matching and sorting (n=906): time 0.4273/2.925, allocations: 39.79 MB / 1.128 GB, free: 188.2 MB / 0.6233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/2.925, allocations: 170.4 kB / 1.128 GB, free: 188.1 MB / 0.6233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01359/2.939, allocations: 8.358 MB / 1.136 GB, free: 185.1 MB / 0.6233 GB Notification: Performance of collectPreVariables (initialization): time 0.002039/2.941, allocations: 173.1 kB / 1.136 GB, free: 185 MB / 0.6233 GB Notification: Performance of collectInitialEqns (initialization): time 0.007785/2.949, allocations: 8.971 MB / 1.145 GB, free: 179.5 MB / 0.6233 GB Notification: Performance of collectInitialBindings (initialization): time 0.005232/2.954, allocations: 3.211 MB / 1.148 GB, free: 177 MB / 0.6233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00984/2.964, allocations: 2.212 MB / 1.15 GB, free: 175.9 MB / 0.6233 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/2.964, allocations: 304.7 kB / 1.151 GB, free: 175.6 MB / 0.6233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01162/2.975, allocations: 6.241 MB / 1.157 GB, free: 173.3 MB / 0.6233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01612/2.992, allocations: 9.966 MB / 1.166 GB, free: 166.3 MB / 0.6233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02546/3.017, allocations: 17.23 MB / 1.183 GB, free: 155.5 MB / 0.6233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002234/3.017, allocations: 33.72 kB / 1.183 GB, free: 155.5 MB / 0.6233 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.04046/3.058, allocations: 20.24 MB / 1.203 GB, free: 142.1 MB / 0.6233 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/3.058, allocations: 53.72 kB / 1.203 GB, free: 142.1 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002763/3.058, allocations: 116 kB / 1.203 GB, free: 142 MB / 0.6233 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.002981/3.061, allocations: 0.9342 MB / 1.204 GB, free: 141.2 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009905/3.071, allocations: 2.408 MB / 1.206 GB, free: 139.2 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/3.081, allocations: 12.51 MB / 1.219 GB, free: 126.8 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/3.092, allocations: 0.6046 MB / 1.219 GB, free: 126.4 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002661/3.095, allocations: 0.5103 MB / 1.22 GB, free: 125.9 MB / 0.6233 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.01633/3.111, allocations: 7.923 MB / 1.227 GB, free: 118.8 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003545/3.115, allocations: 0.9471 MB / 1.228 GB, free: 117.8 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03771/3.152, allocations: 16.9 MB / 1.245 GB, free: 100.8 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.6e-05/3.152, allocations: 92 kB / 1.245 GB, free: 100.7 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001381/3.152, allocations: 40 kB / 1.245 GB, free: 100.7 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002097/3.153, allocations: 51.7 kB / 1.245 GB, free: 100.6 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08178/3.234, allocations: 35.69 MB / 1.28 GB, free: 64.86 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.671e-05/3.235, allocations: 8 kB / 1.28 GB, free: 64.86 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006472/3.241, allocations: 1.434 MB / 1.281 GB, free: 63.42 MB / 0.6233 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.003108/3.244, allocations: 0.9818 MB / 1.282 GB, free: 62.42 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001891/3.246, allocations: 207.9 kB / 1.282 GB, free: 62.21 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/3.259, allocations: 17.15 MB / 1.299 GB, free: 44.13 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/3.259, allocations: 11.94 kB / 1.299 GB, free: 44.12 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04945/3.309, allocations: 24.7 MB / 1.323 GB, free: 19.23 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3797/3.689, allocations: 2.283 MB / 1.326 GB, free: 182.4 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004337/3.693, allocations: 184.4 kB / 1.326 GB, free: 182.4 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009728/3.703, allocations: 493.2 kB / 1.326 GB, free: 182.4 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004164/3.707, allocations: 0.7891 MB / 1.327 GB, free: 182.4 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002231/3.709, allocations: 261.2 kB / 1.327 GB, free: 182.4 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.0143/3.723, allocations: 5.683 MB / 1.333 GB, free: 182.2 MB / 0.6233 GB Notification: Performance of sort global known variables: time 1.7e-07/3.723, allocations: 3.375 kB / 1.333 GB, free: 182.2 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.01799/3.741, allocations: 3.476 MB / 1.336 GB, free: 182.2 MB / 0.6233 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,13,100.0%), (1,8,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.0452/3.787, allocations: 25.64 MB / 1.361 GB, free: 172.7 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.02961/3.816, allocations: 15.48 MB / 1.376 GB, free: 166.6 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.82e-05/3.816, allocations: 5.438 kB / 1.376 GB, free: 166.6 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.01666/3.833, allocations: 8.195 MB / 1.384 GB, free: 163 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01636/3.849, allocations: 2.556 MB / 1.387 GB, free: 162.1 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2469/4.096, allocations: 128.3 MB / 1.512 GB, free: 43.62 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0281/4.124, allocations: 13.12 MB / 1.525 GB, free: 30.45 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.01339/4.138, allocations: 3.989 MB / 1.529 GB, free: 26.45 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01467/4.152, allocations: 7.81 MB / 1.536 GB, free: 18.63 MB / 0.6233 GB Notification: Performance of SimCode: time 1.814e-06/4.152, allocations: 0 / 1.536 GB, free: 18.63 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.073/5.226, allocations: 283.1 MB / 1.813 GB, free: 125.9 MB / 0.6389 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.28/41.5, allocations: 4.094 kB / 1.813 GB, free: 125.9 MB / 0.6389 GB " [Timeout remaining time 618] (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: 72.63080058200285] Failed to read output from testmodel.py, exit status != 0: 41.75754670891911 41.781939893 40.59903962 Calling exit ...