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.0009814/0.0009814, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.038/1.038, allocations: 177.2 MB / 201 MB, free: 5.703 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.00117/0.00117, allocations: 152.7 kB / 257.7 MB, free: 12.98 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.03112/0.03112, allocations: 6.659 MB / 320.9 MB, free: 26.33 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: 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.203e-06/1.203e-06, allocations: 0 / 392.9 MB, free: 2.246 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.496e-05, allocations: 6.25 kB / 392.9 MB, free: 2.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.1496/0.1496, allocations: 25.38 MB / 418.3 MB, free: 69.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.1632, allocations: 8.032 MB / 426.3 MB, free: 67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004562/0.1677, allocations: 237 kB / 426.5 MB, free: 66.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.1777, allocations: 9.663 MB / 436.2 MB, free: 60.81 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008604/0.1863, allocations: 3.453 MB / 439.6 MB, free: 58.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.1896, allocations: 1.827 MB / 441.5 MB, free: 56.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009749/0.1994, allocations: 12.78 MB / 454.2 MB, free: 45.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01714/0.2165, allocations: 15.89 MB / 470.1 MB, free: 29.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01178/0.2283, allocations: 9.829 MB / 480 MB, free: 19.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007135/0.2354, allocations: 7.147 MB / 487.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003055/0.2385, allocations: 1.832 MB / 488.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.2414, allocations: 2.226 MB / 491.2 MB, free: 8.215 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001693/0.2431, allocations: 3.741 MB / 494.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004475/0.2476, allocations: 4.683 MB / 499.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.259, allocations: 11.78 MB / 0.4994 GB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.259, allocations: 0 / 0.4994 GB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.259, allocations: 4 kB / 0.4994 GB, free: 3.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002938/0.2593, allocations: 0 / 0.4994 GB, free: 3.953 MB / 346.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.01888/0.2782, allocations: 14.55 MB / 0.5136 GB, free: 5.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2782, allocations: 8.031 kB / 0.5136 GB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02181/0.3, allocations: 7.799 MB / 0.5212 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.3103, allocations: 6.91 MB / 0.528 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/0.3108, allocations: 0.8068 MB / 0.5288 GB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001709/0.3125, allocations: 1.062 MB / 0.5298 GB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.3249, allocations: 8.904 MB / 0.5385 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/0.3251, allocations: 11.94 kB / 0.5385 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009401/0.326, allocations: 448 kB / 0.5389 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006757/0.3267, allocations: 0.6711 MB / 0.5396 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.3373, allocations: 4.396 MB / 0.5439 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3088/0.6461, allocations: 45.42 MB / 0.5882 GB, free: 74.36 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008168/0.6543, allocations: 9.338 MB / 0.5974 GB, free: 72.67 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.6557, allocations: 1.478 MB / 0.5988 GB, free: 71.75 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.656, allocations: 159.9 kB / 0.599 GB, free: 71.59 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.656, allocations: 89.45 kB / 0.599 GB, free: 71.48 MB / 394.8 MB Notification: Performance of pre-optimization done (n=518): time 6.733e-06/0.656, allocations: 0 / 0.599 GB, free: 71.48 MB / 394.8 MB Notification: Performance of matching and sorting (n=524): time 0.01753/0.6735, allocations: 10.53 MB / 0.6093 GB, free: 61.29 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.6736, allocations: 107.5 kB / 0.6094 GB, free: 61.16 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.6765, allocations: 3.646 MB / 0.613 GB, free: 58.17 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000183/0.6767, allocations: 109.7 kB / 0.6131 GB, free: 58.05 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.6782, allocations: 4.968 MB / 0.6179 GB, free: 53.98 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007907/0.679, allocations: 1.916 MB / 0.6198 GB, free: 52.21 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/0.6802, allocations: 1.531 MB / 0.6213 GB, free: 50.81 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 3.738e-05/0.6803, allocations: 480.8 kB / 0.6218 GB, free: 50.34 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009355/0.6812, allocations: 0.8374 MB / 0.6226 GB, free: 49.5 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.6832, allocations: 4.521 MB / 0.627 GB, free: 43.68 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/0.6868, allocations: 6.047 MB / 0.6329 GB, free: 36.54 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/0.6868, allocations: 28 kB / 0.6329 GB, free: 36.52 MB / 394.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.005993/0.6928, allocations: 5.732 MB / 0.6385 GB, free: 31.24 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.6928, allocations: 40 kB / 0.6386 GB, free: 31.2 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-05/0.6929, allocations: 76 kB / 0.6386 GB, free: 31.12 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.6949, allocations: 1.239 MB / 0.6399 GB, free: 29.9 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/0.6974, allocations: 1.483 MB / 0.6413 GB, free: 28.52 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005548/0.703, allocations: 6.387 MB / 0.6475 GB, free: 22.19 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.7049, allocations: 263.7 kB / 0.6478 GB, free: 21.93 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/0.7052, allocations: 287.9 kB / 0.6481 GB, free: 21.65 MB / 394.8 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.001866/0.7071, allocations: 0.6077 MB / 0.6487 GB, free: 21.14 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007122/0.7078, allocations: 0.6298 MB / 0.6493 GB, free: 20.51 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/0.7126, allocations: 4.164 MB / 0.6533 GB, free: 16.3 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003218/0.7158, allocations: 2.921 MB / 0.6562 GB, free: 13.34 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.7158, allocations: 12 kB / 0.6562 GB, free: 13.32 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.7158, allocations: 23.91 kB / 0.6562 GB, free: 13.3 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.729, allocations: 12.55 MB / 0.6685 GB, free: 1.938 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.729, allocations: 7.984 kB / 0.6685 GB, free: 1.93 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.7307, allocations: 0.8221 MB / 0.6693 GB, free: 1.152 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.7325, allocations: 1.107 MB / 0.6704 GB, free: 56 kB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.7327, allocations: 111.2 kB / 0.6705 GB, free: 15.95 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005683/0.7384, allocations: 5.844 MB / 0.6762 GB, free: 10.12 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7384, allocations: 7.375 kB / 0.6762 GB, free: 10.11 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006116/0.7445, allocations: 4.971 MB / 0.681 GB, free: 5.074 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.7458, allocations: 0.9101 MB / 0.6819 GB, free: 4.164 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003798/0.7462, allocations: 99.98 kB / 0.682 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.7472, allocations: 142.4 kB / 0.6822 GB, free: 3.93 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000471/0.7477, allocations: 375.7 kB / 0.6825 GB, free: 3.562 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.7479, allocations: 112 kB / 0.6826 GB, free: 3.453 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001604/0.7495, allocations: 1.568 MB / 0.6842 GB, free: 2.047 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7495, allocations: 0 / 0.6842 GB, free: 2.047 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004981/0.7545, allocations: 1.914 MB / 0.686 GB, free: 136 kB / 410.8 MB 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.000481/0.755, allocations: 308.5 kB / 0.6863 GB, free: 15.88 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00549/0.7605, allocations: 4.435 MB / 0.6907 GB, free: 11.71 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7605, allocations: 0 / 0.6907 GB, free: 11.71 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.763, allocations: 2.324 MB / 0.6929 GB, free: 9.492 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.7654, allocations: 1.04 MB / 0.6939 GB, free: 8.492 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.784, allocations: 15.85 MB / 0.7094 GB, free: 8.57 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/0.7864, allocations: 2.982 MB / 0.7123 GB, free: 5.551 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002453/0.7888, allocations: 0.8059 MB / 0.7131 GB, free: 4.738 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001962/0.7908, allocations: 1.189 MB / 0.7143 GB, free: 3.547 MB / 442.8 MB Notification: Performance of SimCode: time 9.82e-07/0.7908, allocations: 4 kB / 0.7143 GB, free: 3.543 MB / 442.8 MB Notification: Performance of Templates: time 0.2054/0.9963, allocations: 79.62 MB / 0.792 GB, free: 78.6 MB / 442.8 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.755852623842657]