Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.0009735/0.0009735, 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.925/0.925, allocations: 177.1 MB / 199.4 MB, free: 5.906 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.001496/0.001496, allocations: 156.4 kB / 256 MB, free: 13.32 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.02184/0.02184, allocations: 6.662 MB / 319 MB, free: 26.74 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) Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 445.4 MB, free: 37.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.293e-05, allocations: 2.281 kB / 445.4 MB, free: 37.59 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.02345/0.02349, allocations: 39.41 MB / 484.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02818/0.05167, allocations: 11.8 MB / 496.6 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00893/0.0606, allocations: 433.6 kB / 497 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0171/0.0777, allocations: 12.26 MB / 0.4974 GB, free: 5.457 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01643/0.09413, allocations: 5.069 MB / 0.5023 GB, free: 376 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006868/0.101, allocations: 3.034 MB / 0.5053 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02465/0.1256, allocations: 22 MB / 0.5268 GB, free: 7.273 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3816/0.5072, allocations: 26.56 MB / 0.5527 GB, free: 19.46 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02612/0.5334, allocations: 16.55 MB / 0.5689 GB, free: 19.46 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01863/0.552, allocations: 10.5 MB / 0.5791 GB, free: 19.46 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009272/0.5613, allocations: 3.122 MB / 0.5822 GB, free: 19.46 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/0.5749, allocations: 3.561 MB / 0.5856 GB, free: 19.46 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01058/0.5855, allocations: 6.365 MB / 0.5919 GB, free: 19.01 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01562/0.6011, allocations: 7.998 MB / 0.5997 GB, free: 15.82 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03869/0.6398, allocations: 42.06 MB / 0.6407 GB, free: 9.98 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.6398, allocations: 0 / 0.6407 GB, free: 9.98 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6398, allocations: 0 / 0.6407 GB, free: 9.98 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001157/0.6409, allocations: 0.5312 kB / 0.6407 GB, free: 9.98 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.0617/0.7026, allocations: 24.09 MB / 0.6643 GB, free: 1.965 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.7027, allocations: 12.03 kB / 0.6643 GB, free: 1.953 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01031/0.713, allocations: 2.944 MB / 0.6671 GB, free: 15.01 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03553/0.7485, allocations: 11.33 MB / 0.6782 GB, free: 3.789 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02747/0.776, allocations: 13.29 MB / 0.6912 GB, free: 6.957 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001141/0.7771, allocations: 1.362 MB / 0.6925 GB, free: 5.609 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007056/0.7842, allocations: 1.791 MB / 0.6943 GB, free: 3.836 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07132/0.8555, allocations: 30.13 MB / 0.7237 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007263/0.8562, allocations: 23.89 kB / 0.7237 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005864/0.8621, allocations: 0.7414 MB / 0.7244 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008258/0.8629, allocations: 0.99 MB / 0.7254 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2571/1.12, allocations: 27.32 MB / 0.7521 GB, free: 180.9 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/1.246, allocations: 84.56 MB / 0.8347 GB, free: 114.9 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/1.265, allocations: 18.82 MB / 0.853 GB, free: 99.2 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008261/1.273, allocations: 6.711 MB / 0.8596 GB, free: 92.48 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0257/1.299, allocations: 18.08 MB / 0.8773 GB, free: 74.56 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/1.299, allocations: 108.5 kB / 0.8774 GB, free: 74.45 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=677): time 8.206e-06/1.299, allocations: 0 / 0.8774 GB, free: 74.45 MB / 0.5262 GB Notification: Performance of matching and sorting (n=685): time 0.06081/1.359, allocations: 37.52 MB / 0.914 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/1.359, allocations: 151 kB / 0.9141 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/1.37, allocations: 7.384 MB / 0.9214 GB, free: 29.32 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001583/1.372, allocations: 141.7 kB / 0.9215 GB, free: 29.18 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002933/1.375, allocations: 8.023 MB / 0.9293 GB, free: 21.13 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002456/1.377, allocations: 2.404 MB / 0.9317 GB, free: 18.76 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002456/1.38, allocations: 1.851 MB / 0.9335 GB, free: 16.9 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.147e-05/1.38, allocations: 301.1 kB / 0.9338 GB, free: 16.6 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005161/1.385, allocations: 4.887 MB / 0.9385 GB, free: 11.71 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008924/1.394, allocations: 8.296 MB / 0.9466 GB, free: 1.871 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2375/1.631, allocations: 13.9 MB / 0.9602 GB, free: 158.8 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/1.631, allocations: 33 kB / 0.9603 GB, free: 158.8 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.0245/1.656, allocations: 15.89 MB / 0.9758 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/1.656, allocations: 50.72 kB / 0.9758 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.656, allocations: 108.4 kB / 0.9759 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004147/1.66, allocations: 2.537 MB / 0.9784 GB, free: 152 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005823/1.666, allocations: 2.079 MB / 0.9804 GB, free: 151.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0225/1.688, allocations: 29.66 MB / 1.009 GB, free: 129.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00579/1.694, allocations: 0.5134 MB / 1.01 GB, free: 129.2 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/1.696, allocations: 458.3 kB / 1.01 GB, free: 128.8 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 493 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[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 (1072): * Single equations (assignments): 1062 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(1,1,100.0%), (18,100,41.0%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01062/1.706, allocations: 6.75 MB / 1.017 GB, free: 123.1 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001735/1.708, allocations: 0.8065 MB / 1.018 GB, free: 122.7 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/1.724, allocations: 12.72 MB / 1.03 GB, free: 112.1 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008823/1.732, allocations: 8.205 MB / 1.038 GB, free: 104.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-05/1.732, allocations: 32 kB / 1.038 GB, free: 104.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.294e-05/1.733, allocations: 31.88 kB / 1.038 GB, free: 104.3 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04199/1.775, allocations: 26.6 MB / 1.064 GB, free: 77.71 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/1.775, allocations: 7.938 kB / 1.064 GB, free: 77.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002831/1.777, allocations: 1.124 MB / 1.065 GB, free: 76.58 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003987/1.781, allocations: 2.639 MB / 1.068 GB, free: 73.91 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006868/1.782, allocations: 163.7 kB / 1.068 GB, free: 73.76 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02073/1.803, allocations: 34.42 MB / 1.102 GB, free: 38.48 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.803, allocations: 4.562 kB / 1.102 GB, free: 38.47 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/1.824, allocations: 18.53 MB / 1.12 GB, free: 20.12 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004708/1.828, allocations: 1.793 MB / 1.121 GB, free: 18.33 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001924/1.83, allocations: 128.1 kB / 1.122 GB, free: 18.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003668/1.834, allocations: 391.6 kB / 1.122 GB, free: 17.82 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/1.835, allocations: 0.5723 MB / 1.123 GB, free: 17.25 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003821/1.836, allocations: 207.7 kB / 1.123 GB, free: 17.05 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006814/1.842, allocations: 4.852 MB / 1.127 GB, free: 12.22 MB / 0.5262 GB Notification: Performance of sort global known variables: time 4.01e-07/1.842, allocations: 0 / 1.127 GB, free: 12.22 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01014/1.853, allocations: 3.059 MB / 1.13 GB, free: 9.168 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0244/1.877, allocations: 19.35 MB / 1.149 GB, free: 5.613 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.203/2.08, allocations: 12.81 MB / 1.162 GB, free: 204.9 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/2.08, allocations: 3.438 kB / 1.162 GB, free: 204.9 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.009259/2.089, allocations: 7.152 MB / 1.169 GB, free: 203.3 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009699/2.099, allocations: 2.171 MB / 1.171 GB, free: 203.1 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1591/2.258, allocations: 103.6 MB / 1.272 GB, free: 111.5 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01299/2.271, allocations: 11.07 MB / 1.283 GB, free: 100.3 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.007881/2.279, allocations: 3.269 MB / 1.286 GB, free: 97.07 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009787/2.289, allocations: 6.839 MB / 1.293 GB, free: 90.23 MB / 0.5418 GB Notification: Performance of SimCode: time 2.174e-06/2.289, allocations: 4 kB / 1.293 GB, free: 90.23 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4147/2.703, allocations: 256.5 MB / 1.543 GB, free: 35.64 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.54/20.24, allocations: 3.938 kB / 1.543 GB, free: 35.64 MB / 0.5418 GB " [Timeout remaining time 640] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMS_Start_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_InductionMachines_IMS_Start.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.030870928429067] Failed to read output from testmodel.py, exit status != 0: 20.42974917218089 20.43949868 19.797029707 Calling exit ...