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.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.001753/0.001753, 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.551/1.551, allocations: 225.6 MB / 244.8 MB, free: 14.19 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.001482/0.001482, allocations: 195.2 kB / 299.8 MB, free: 9.836 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.04104/0.04104, allocations: 8.937 MB / 363.7 MB, free: 10.18 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) 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 0.003492/0.003492, allocations: 83.3 kB / 486.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1292, allocations: 54.41 MB / 0.5278 GB, free: 1.199 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.03373/0.1629, allocations: 27.11 MB / 0.5543 GB, free: 5.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.019/0.1819, allocations: 8.078 MB / 0.5622 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00618/0.1881, allocations: 195.4 kB / 0.5624 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02359/0.2117, allocations: 9.438 MB / 0.5716 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01308/0.2248, allocations: 3.373 MB / 0.5749 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006567/0.2313, allocations: 1.828 MB / 0.5767 GB, free: 15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01935/0.2507, allocations: 12.14 MB / 0.5885 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03449/0.2852, allocations: 18.64 MB / 0.6067 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01196/0.2971, allocations: 6.472 MB / 0.613 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0133/0.3104, allocations: 7.246 MB / 0.6201 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006028/0.3165, allocations: 1.84 MB / 0.6219 GB, free: 404 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.3268, allocations: 2.207 MB / 0.6241 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007538/0.3343, allocations: 3.616 MB / 0.6276 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01875/0.3531, allocations: 6.93 MB / 0.6344 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3044/0.6575, allocations: 24.77 MB / 0.6586 GB, free: 42.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6575, allocations: 2.625 kB / 0.6586 GB, free: 42.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.6575, allocations: 4.641 kB / 0.6586 GB, free: 42.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000845/0.6583, allocations: 1.969 kB / 0.6586 GB, free: 42.07 MB / 446.1 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.0587/0.717, allocations: 14.74 MB / 0.673 GB, free: 35.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.7171, allocations: 8.312 kB / 0.673 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01032/0.7274, allocations: 1.798 MB / 0.6747 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04606/0.7735, allocations: 8.539 MB / 0.6831 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02137/0.7948, allocations: 7.66 MB / 0.6905 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006881/0.7955, allocations: 0.8043 MB / 0.6913 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006329/0.8019, allocations: 1.068 MB / 0.6924 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06862/0.8705, allocations: 18.29 MB / 0.7102 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005187/0.871, allocations: 19.94 kB / 0.7102 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006369/0.8774, allocations: 452.7 kB / 0.7107 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006136/0.878, allocations: 0.6633 MB / 0.7113 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04796/0.9259, allocations: 17.54 MB / 0.7285 GB, free: 2.324 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1353/1.061, allocations: 58.21 MB / 0.7853 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04179/1.103, allocations: 36.96 MB / 0.8214 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008385/1.111, allocations: 3.739 MB / 0.825 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007548/1.112, allocations: 199.9 kB / 0.8252 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/1.112, allocations: 82.62 kB / 0.8253 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=518): time 8.235e-06/1.112, allocations: 0 / 0.8253 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=524): time 0.06229/1.175, allocations: 21.55 MB / 0.8464 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/1.175, allocations: 103.5 kB / 0.8465 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/1.187, allocations: 4.184 MB / 0.8505 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001479/1.188, allocations: 109.7 kB / 0.8506 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.3033/1.492, allocations: 4.677 MB / 0.8552 GB, free: 205.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0031/1.495, allocations: 1.865 MB / 0.857 GB, free: 204.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003462/1.498, allocations: 1.356 MB / 0.8584 GB, free: 204.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.498, allocations: 304.9 kB / 0.8587 GB, free: 203.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006458/1.505, allocations: 3.444 MB / 0.862 GB, free: 203.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009047/1.514, allocations: 5.883 MB / 0.8678 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/1.527, allocations: 10.02 MB / 0.8775 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001609/1.527, allocations: 23 kB / 0.8776 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02156/1.549, allocations: 10.93 MB / 0.8882 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/1.549, allocations: 47.27 kB / 0.8883 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/1.549, allocations: 76 kB / 0.8884 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00371/1.552, allocations: 1.429 MB / 0.8897 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006538/1.559, allocations: 1.614 MB / 0.8913 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/1.575, allocations: 11.47 MB / 0.9025 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00661/1.581, allocations: 412.3 kB / 0.9029 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/1.583, allocations: 331.4 kB / 0.9032 GB, free: 175.1 MB / 0.5762 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.01115/1.594, allocations: 4.165 MB / 0.9073 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/1.596, allocations: 492.9 kB / 0.9078 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/1.609, allocations: 8.451 MB / 0.916 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01141/1.62, allocations: 7.038 MB / 0.9229 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/1.621, allocations: 12 kB / 0.9229 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000132/1.621, allocations: 27.89 kB / 0.9229 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03385/1.654, allocations: 18.73 MB / 0.9412 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/1.655, allocations: 8.281 kB / 0.9412 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003285/1.658, allocations: 0.9361 MB / 0.9422 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003245/1.661, allocations: 1.285 MB / 0.9434 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006719/1.662, allocations: 112 kB / 0.9435 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/1.673, allocations: 10.17 MB / 0.9534 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/1.673, allocations: 4 kB / 0.9534 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/1.691, allocations: 12.26 MB / 0.9654 GB, free: 113.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004038/1.695, allocations: 1.185 MB / 0.9666 GB, free: 112.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/1.697, allocations: 92 kB / 0.9667 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003591/1.7, allocations: 275.8 kB / 0.9669 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001358/1.702, allocations: 353.1 kB / 0.9673 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004383/1.702, allocations: 148 kB / 0.9674 GB, free: 111.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006711/1.709, allocations: 2.815 MB / 0.9702 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.81e-07/1.709, allocations: 4 kB / 0.9702 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0113/1.72, allocations: 1.937 MB / 0.9721 GB, free: 106.6 MB / 0.5762 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.0191/1.739, allocations: 13.01 MB / 0.9848 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01435/1.753, allocations: 8.379 MB / 0.9929 GB, free: 84.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.753, allocations: 0 / 0.9929 GB, free: 84.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006799/1.76, allocations: 3.873 MB / 0.9967 GB, free: 81.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005639/1.766, allocations: 1.128 MB / 0.9978 GB, free: 80 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1112/1.877, allocations: 64.06 MB / 1.06 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2961/2.173, allocations: 7.004 MB / 1.067 GB, free: 205.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006674/2.18, allocations: 2.312 MB / 1.069 GB, free: 204.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007426/2.187, allocations: 3.845 MB / 1.073 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.694e-06/2.187, allocations: 0 / 1.073 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2214/2.409, allocations: 150.2 MB / 1.22 GB, free: 72.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.2/24.61, allocations: 4 kB / 1.22 GB, free: 72.14 MB / 0.5762 GB " [Timeout remaining time 635] (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: 28.625499268993735] Failed to read output from testmodel.py, exit status != 0: 24.97966801468283 24.781013562 24.121151256 Calling exit ...