Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.0007762/0.0007762, 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.9203/0.9203, allocations: 177.1 MB / 199.4 MB, free: 5.941 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.001915/0.001915, allocations: 160.2 kB / 256 MB, free: 13.34 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.02232/0.02232, allocations: 6.669 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) Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.152e-05, allocations: 2.281 kB / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.01376/0.01378, allocations: 23.29 MB / 468.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.02613, allocations: 7.86 MB / 476.6 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004645/0.03077, allocations: 238.8 kB / 476.8 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008316/0.03909, allocations: 9.208 MB / 486 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006467/0.04556, allocations: 3.441 MB / 489.4 MB, free: 9.418 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.04914, allocations: 1.829 MB / 491.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01051/0.05965, allocations: 12.76 MB / 0.4922 GB, free: 10.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02119/0.08083, allocations: 15.88 MB / 0.5077 GB, free: 10.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01426/0.09509, allocations: 9.723 MB / 0.5172 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/0.1053, allocations: 6.276 MB / 0.5233 GB, free: 10.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005018/0.1103, allocations: 1.836 MB / 0.5251 GB, free: 8.844 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007525/0.1178, allocations: 2.233 MB / 0.5273 GB, free: 6.609 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005827/0.1236, allocations: 3.67 MB / 0.5309 GB, free: 2.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009817/0.1334, allocations: 4.636 MB / 0.5354 GB, free: 14.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2149/0.3483, allocations: 25.1 MB / 0.5599 GB, free: 46.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.168e-06/0.3483, allocations: 0 / 0.5599 GB, free: 46.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3483, allocations: 0 / 0.5599 GB, free: 46.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007446/0.3491, allocations: 0.5 kB / 0.5599 GB, free: 46.93 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0364/0.3855, allocations: 14.56 MB / 0.5742 GB, free: 41.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.3855, allocations: 9.844 kB / 0.5742 GB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00814/0.3937, allocations: 1.79 MB / 0.5759 GB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02555/0.4192, allocations: 8.444 MB / 0.5842 GB, free: 37.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01589/0.4351, allocations: 7.813 MB / 0.5918 GB, free: 33.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000672/0.4358, allocations: 0.8072 MB / 0.5926 GB, free: 33.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005181/0.4409, allocations: 1.063 MB / 0.5936 GB, free: 32.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04356/0.4845, allocations: 18.55 MB / 0.6117 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003729/0.4849, allocations: 11.95 kB / 0.6118 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004443/0.4893, allocations: 450.9 kB / 0.6122 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005883/0.4899, allocations: 0.675 MB / 0.6128 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03056/0.5205, allocations: 17.48 MB / 0.6299 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08025/0.6007, allocations: 52.14 MB / 0.6808 GB, free: 7.328 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01834/0.6191, allocations: 12.67 MB / 0.6932 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007205/0.6263, allocations: 3.732 MB / 0.6969 GB, free: 8.941 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003759/0.6266, allocations: 127.9 kB / 0.697 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.6267, allocations: 90.28 kB / 0.6971 GB, free: 8.715 MB / 490.7 MB Notification: Performance of pre-optimization done (n=518): time 6.812e-06/0.6267, allocations: 0 / 0.6971 GB, free: 8.715 MB / 490.7 MB Notification: Performance of matching and sorting (n=524): time 0.03227/0.659, allocations: 21.3 MB / 0.7179 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.659, allocations: 103.5 kB / 0.718 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005956/0.665, allocations: 4.272 MB / 0.7221 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008149/0.6658, allocations: 113.7 kB / 0.7222 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002273/0.6681, allocations: 4.659 MB / 0.7268 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.6697, allocations: 1.849 MB / 0.7286 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/0.6713, allocations: 1.352 MB / 0.7299 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.6714, allocations: 305.1 kB / 0.7302 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004073/0.6754, allocations: 3.434 MB / 0.7336 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1994/0.8748, allocations: 5.894 MB / 0.7393 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009406/0.8842, allocations: 10.01 MB / 0.7491 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.429e-05/0.8843, allocations: 27.59 kB / 0.7491 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01212/0.8964, allocations: 10.9 MB / 0.7598 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.8965, allocations: 38.25 kB / 0.7598 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.83e-05/0.8966, allocations: 81.94 kB / 0.7599 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/0.8986, allocations: 1.362 MB / 0.7612 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/0.902, allocations: 1.62 MB / 0.7628 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009687/0.9117, allocations: 10.97 MB / 0.7735 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004075/0.9158, allocations: 400.3 kB / 0.7739 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009193/0.9167, allocations: 341.7 kB / 0.7742 GB, free: 137.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005875/0.9226, allocations: 4.164 MB / 0.7783 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008439/0.9234, allocations: 498.7 kB / 0.7788 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008743/0.9322, allocations: 8.402 MB / 0.787 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006093/0.9383, allocations: 7.033 MB / 0.7938 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.9383, allocations: 8 kB / 0.7938 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/0.9383, allocations: 31.89 kB / 0.7939 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/0.9574, allocations: 17.83 MB / 0.8113 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.9574, allocations: 3.469 kB / 0.8113 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/0.9593, allocations: 0.9429 MB / 0.8122 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/0.9611, allocations: 1.218 MB / 0.8134 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003085/0.9614, allocations: 116 kB / 0.8135 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00762/0.969, allocations: 9.673 MB / 0.8229 GB, free: 90.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.969, allocations: 8 kB / 0.823 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.9809, allocations: 12.24 MB / 0.8349 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002375/0.9832, allocations: 1.119 MB / 0.836 GB, free: 77.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006251/0.9839, allocations: 100 kB / 0.8361 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.9852, allocations: 265.6 kB / 0.8363 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005768/0.9858, allocations: 371.7 kB / 0.8367 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/0.986, allocations: 160 kB / 0.8369 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002884/0.9889, allocations: 2.772 MB / 0.8396 GB, free: 73.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9889, allocations: 4 kB / 0.8396 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005458/0.9944, allocations: 1.917 MB / 0.8414 GB, free: 71.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01177/1.006, allocations: 12.98 MB / 0.8541 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009583/1.016, allocations: 8.351 MB / 0.8623 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.016, allocations: 4 kB / 0.8623 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005719/1.021, allocations: 3.875 MB / 0.8661 GB, free: 46.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/1.026, allocations: 1.136 MB / 0.8672 GB, free: 45.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08694/1.112, allocations: 63.69 MB / 0.9294 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007904/1.12, allocations: 6.575 MB / 0.9358 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004676/1.125, allocations: 2.329 MB / 0.9381 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1734/1.298, allocations: 3.879 MB / 0.9419 GB, free: 170.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.522e-06/1.298, allocations: 3.719 kB / 0.9419 GB, free: 170.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/1.454, allocations: 152.6 MB / 1.091 GB, free: 52.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.95, allocations: 11.48 kB / 1.091 GB, free: 52.18 MB / 0.5417 GB " [Timeout remaining time 647] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.222676032222807] Failed to read output from testmodel.py, exit status != 0: 13.100389698520303 13.107210175 12.757153268 Calling exit ...