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.001336/0.001336, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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 1.396/1.396, allocations: 177.2 MB / 199.5 MB, free: 8.438 MB / 190.1 MB " [Timeout remaining time 178] 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.001624/0.001624, allocations: 162.7 kB / 256 MB, free: 4.309 MB / 238.1 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.03908/0.03908, allocations: 6.659 MB / 319 MB, free: 5.375 MB / 302.1 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: translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 445.9 MB, free: 25.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.268e-05, allocations: 2.281 kB / 445.9 MB, free: 25.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.01833/0.01836, allocations: 23.28 MB / 469.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.03479, allocations: 7.875 MB / 477.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005287/0.04007, allocations: 238.8 kB / 477.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02378/0.06385, allocations: 9.204 MB / 486.5 MB, free: 432 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2104/0.2742, allocations: 3.439 MB / 489.9 MB, free: 16.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00613/0.2804, allocations: 1.823 MB / 491.8 MB, free: 16.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02062/0.301, allocations: 12.77 MB / 0.4927 GB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02661/0.3276, allocations: 15.88 MB / 0.5082 GB, free: 4.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02546/0.353, allocations: 9.765 MB / 0.5178 GB, free: 14.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01461/0.3677, allocations: 6.28 MB / 0.5239 GB, free: 8.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005491/0.3731, allocations: 1.832 MB / 0.5257 GB, free: 6.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009041/0.3822, allocations: 2.231 MB / 0.5279 GB, free: 4.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006613/0.3888, allocations: 3.671 MB / 0.5314 GB, free: 1.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01307/0.4019, allocations: 4.63 MB / 0.536 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0378/0.4397, allocations: 25.12 MB / 0.5605 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4397, allocations: 0 / 0.5605 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4397, allocations: 0 / 0.5605 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007151/0.4404, allocations: 0 / 0.5605 GB, free: 4.156 MB / 398.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.04779/0.4882, allocations: 14.56 MB / 0.5747 GB, free: 5.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4882, allocations: 15.98 kB / 0.5747 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05044/0.5387, allocations: 8.449 MB / 0.583 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02035/0.559, allocations: 7.808 MB / 0.5906 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001028/0.5601, allocations: 0.8098 MB / 0.5914 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005422/0.5655, allocations: 1.055 MB / 0.5924 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04805/0.6135, allocations: 18.56 MB / 0.6105 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004193/0.6139, allocations: 11.94 kB / 0.6105 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004013/0.618, allocations: 452.3 kB / 0.611 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000871/0.6188, allocations: 0.6672 MB / 0.6116 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04441/0.6632, allocations: 17.48 MB / 0.6287 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4588/1.122, allocations: 50.35 MB / 0.6779 GB, free: 129.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02181/1.144, allocations: 12.66 MB / 0.6902 GB, free: 128.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005832/1.15, allocations: 3.736 MB / 0.6939 GB, free: 127.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004579/1.15, allocations: 125.4 kB / 0.694 GB, free: 127.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.115e-05/1.15, allocations: 90.16 kB / 0.6941 GB, free: 127.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=518): time 8.265e-06/1.15, allocations: 0 / 0.6941 GB, free: 127.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=524): time 0.04512/1.195, allocations: 21.28 MB / 0.7149 GB, free: 118.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/1.195, allocations: 107.7 kB / 0.715 GB, free: 118.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/1.2, allocations: 4.002 MB / 0.7189 GB, free: 116.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005409/1.201, allocations: 111.8 kB / 0.719 GB, free: 116 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/1.203, allocations: 4.68 MB / 0.7236 GB, free: 112.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.204, allocations: 1.837 MB / 0.7253 GB, free: 110.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001789/1.206, allocations: 1.361 MB / 0.7267 GB, free: 110.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.845e-05/1.206, allocations: 301.1 kB / 0.727 GB, free: 109.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004203/1.21, allocations: 3.436 MB / 0.7303 GB, free: 106.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005028/1.215, allocations: 5.895 MB / 0.7361 GB, free: 99.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.226, allocations: 10.01 MB / 0.7459 GB, free: 88.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-05/1.226, allocations: 27.62 kB / 0.7459 GB, free: 88.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0164/1.242, allocations: 10.89 MB / 0.7565 GB, free: 77.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.156e-05/1.242, allocations: 36 kB / 0.7565 GB, free: 77.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/1.242, allocations: 82.42 kB / 0.7566 GB, free: 77.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003395/1.246, allocations: 1.362 MB / 0.758 GB, free: 75.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005637/1.251, allocations: 1.626 MB / 0.7595 GB, free: 74.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/1.265, allocations: 10.91 MB / 0.7702 GB, free: 63.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005269/1.271, allocations: 395.5 kB / 0.7706 GB, free: 62.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.272, allocations: 336 kB / 0.7709 GB, free: 62.5 MB / 494.1 MB 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.007634/1.28, allocations: 4.169 MB / 0.775 GB, free: 58.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001776/1.281, allocations: 484.9 kB / 0.7754 GB, free: 57.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/1.297, allocations: 8.384 MB / 0.7836 GB, free: 49.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01083/1.307, allocations: 7.026 MB / 0.7905 GB, free: 42.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.093e-05/1.307, allocations: 12 kB / 0.7905 GB, free: 42.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.826e-05/1.308, allocations: 27.89 kB / 0.7905 GB, free: 42.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03637/1.344, allocations: 16.13 MB / 0.8063 GB, free: 26.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-05/1.344, allocations: 4 kB / 0.8063 GB, free: 26.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00409/1.348, allocations: 0.94 MB / 0.8072 GB, free: 25.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003409/1.351, allocations: 1.218 MB / 0.8084 GB, free: 23.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001016/1.352, allocations: 120 kB / 0.8085 GB, free: 23.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/1.366, allocations: 9.634 MB / 0.8179 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.366, allocations: 0 / 0.8179 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02003/1.386, allocations: 12.21 MB / 0.8298 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003319/1.389, allocations: 1.098 MB / 0.8309 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/1.39, allocations: 92 kB / 0.831 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003331/1.394, allocations: 271.8 kB / 0.8313 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/1.395, allocations: 380.2 kB / 0.8316 GB, free: 15.78 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00071/1.395, allocations: 148 kB / 0.8318 GB, free: 15.63 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006853/1.402, allocations: 2.583 MB / 0.8343 GB, free: 13.07 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9e-08/1.402, allocations: 0 / 0.8343 GB, free: 13.07 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009089/1.411, allocations: 1.914 MB / 0.8362 GB, free: 11.15 MB / 0.4982 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.001331/1.413, allocations: 297 kB / 0.8364 GB, free: 10.86 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01864/1.431, allocations: 8.351 MB / 0.8446 GB, free: 2.441 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.431, allocations: 6 kB / 0.8446 GB, free: 2.438 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.202/1.633, allocations: 3.861 MB / 0.8484 GB, free: 160.7 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005907/1.639, allocations: 1.01 MB / 0.8494 GB, free: 160.7 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03902/1.678, allocations: 19.39 MB / 0.8683 GB, free: 154.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009777/1.688, allocations: 6.592 MB / 0.8747 GB, free: 152.2 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.005984/1.694, allocations: 2.29 MB / 0.877 GB, free: 152.1 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/1.696, allocations: 436 kB / 0.8774 GB, free: 152 MB / 0.4982 GB Notification: Performance of SimCode: time 2.164e-06/1.696, allocations: 0 / 0.8774 GB, free: 152 MB / 0.4982 GB Notification: Performance of Templates: time 0.1109/1.807, allocations: 71.41 MB / 0.9471 GB, free: 87.39 MB / 0.4982 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.553785253316164] Failed to read output from testmodel.py, exit status != 0: 1.8148013018071651 1.824310304 1.382310631 Calling exit ...