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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) 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: translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 239 MB, free: 4.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 204.4 kB / 289.3 MB, free: 2.387 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03314/0.03314, allocations: 8.797 MB / 348.2 MB, free: 4.859 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 78.25 kB / 410.6 MB, free: 42.31 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1171, allocations: 51.56 MB / 462.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02801/0.1452, allocations: 26.53 MB / 488.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0189/0.1642, allocations: 7.946 MB / 496.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007655/0.1719, allocations: 191.4 kB / 496.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02079/0.1927, allocations: 8.837 MB / 0.4938 GB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01452/0.2073, allocations: 3.012 MB / 0.4967 GB, free: 108 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007597/0.2149, allocations: 1.686 MB / 0.4984 GB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02006/0.235, allocations: 12.11 MB / 0.5102 GB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2988/0.5338, allocations: 28.08 MB / 0.5376 GB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/0.5468, allocations: 6.507 MB / 0.544 GB, free: 14.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01575/0.5626, allocations: 7.272 MB / 0.5511 GB, free: 13.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007103/0.5698, allocations: 1.848 MB / 0.5529 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009099/0.5789, allocations: 2.203 MB / 0.555 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006613/0.5855, allocations: 3.622 MB / 0.5586 GB, free: 13.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0146/0.6002, allocations: 6.92 MB / 0.5653 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02974/0.6299, allocations: 24.61 MB / 0.5894 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.63, allocations: 0 / 0.5894 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.63, allocations: 0 / 0.5894 GB, free: 10.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009365/0.6309, allocations: 0 / 0.5894 GB, free: 10.03 MB / 382.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.04901/0.68, allocations: 14.58 MB / 0.6036 GB, free: 11.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/0.6801, allocations: 8.031 kB / 0.6036 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04745/0.7275, allocations: 8.434 MB / 0.6118 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/0.747, allocations: 7.442 MB / 0.6191 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001082/0.7482, allocations: 0.8085 MB / 0.6199 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006018/0.7542, allocations: 1.064 MB / 0.6209 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05965/0.8139, allocations: 18.3 MB / 0.6388 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006642/0.8146, allocations: 11.89 kB / 0.6388 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005077/0.8197, allocations: 453.1 kB / 0.6393 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008007/0.8205, allocations: 0.6672 MB / 0.6399 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04042/0.8609, allocations: 17.54 MB / 0.657 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5931/1.454, allocations: 58.7 MB / 0.7144 GB, free: 136.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03414/1.488, allocations: 37.49 MB / 0.751 GB, free: 105.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006712/1.495, allocations: 4.152 MB / 0.755 GB, free: 105.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/1.496, allocations: 201.4 kB / 0.7552 GB, free: 105.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.353e-05/1.496, allocations: 90.42 kB / 0.7553 GB, free: 105.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=524): time 6.893e-06/1.496, allocations: 0 / 0.7553 GB, free: 105.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=530): time 0.04943/1.545, allocations: 21.84 MB / 0.7766 GB, free: 103.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/1.545, allocations: 106.2 kB / 0.7767 GB, free: 103.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006775/1.552, allocations: 4.187 MB / 0.7808 GB, free: 102.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001271/1.553, allocations: 107.6 kB / 0.7809 GB, free: 102.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002666/1.556, allocations: 4.502 MB / 0.7853 GB, free: 98.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002181/1.558, allocations: 1.795 MB / 0.7871 GB, free: 97.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002122/1.56, allocations: 1.356 MB / 0.7884 GB, free: 96.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/1.561, allocations: 305.1 kB / 0.7887 GB, free: 96.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004685/1.565, allocations: 3.475 MB / 0.7921 GB, free: 95.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006113/1.571, allocations: 5.92 MB / 0.7979 GB, free: 90.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/1.584, allocations: 10.08 MB / 0.8077 GB, free: 82.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/1.584, allocations: 24.66 kB / 0.8077 GB, free: 82.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01887/1.603, allocations: 10.99 MB / 0.8185 GB, free: 71.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/1.603, allocations: 36 kB / 0.8185 GB, free: 71.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/1.603, allocations: 80 kB / 0.8186 GB, free: 71.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003449/1.607, allocations: 1.381 MB / 0.8199 GB, free: 69.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00594/1.613, allocations: 1.614 MB / 0.8215 GB, free: 68.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/1.626, allocations: 11.33 MB / 0.8326 GB, free: 56.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006172/1.632, allocations: 407.3 kB / 0.833 GB, free: 56.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/1.634, allocations: 336 kB / 0.8333 GB, free: 56.11 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 (843): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00739/1.641, allocations: 4.176 MB / 0.8374 GB, free: 51.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.643, allocations: 478.1 kB / 0.8378 GB, free: 51.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/1.655, allocations: 8.537 MB / 0.8462 GB, free: 42.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009688/1.665, allocations: 7.132 MB / 0.8531 GB, free: 35.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/1.665, allocations: 12 kB / 0.8531 GB, free: 35.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.479e-05/1.665, allocations: 27.91 kB / 0.8532 GB, free: 35.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03212/1.697, allocations: 19.4 MB / 0.8721 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.697, allocations: 0 / 0.8721 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003473/1.701, allocations: 0.9404 MB / 0.873 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003144/1.704, allocations: 1.238 MB / 0.8742 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007727/1.705, allocations: 116 kB / 0.8743 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.717, allocations: 10.04 MB / 0.8841 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/1.717, allocations: 5.812 kB / 0.8841 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/1.736, allocations: 12.36 MB / 0.8962 GB, free: 6.844 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003504/1.74, allocations: 1.163 MB / 0.8974 GB, free: 5.656 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/1.741, allocations: 91.98 kB / 0.8974 GB, free: 5.566 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003091/1.744, allocations: 275.8 kB / 0.8977 GB, free: 5.297 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009305/1.745, allocations: 352.3 kB / 0.898 GB, free: 4.949 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003389/1.746, allocations: 151.9 kB / 0.8982 GB, free: 4.801 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005064/1.751, allocations: 2.815 MB / 0.9009 GB, free: 1.973 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.31e-07/1.751, allocations: 0 / 0.9009 GB, free: 1.973 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01053/1.761, allocations: 1.933 MB / 0.9028 GB, free: 44 kB / 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 (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.231/1.992, allocations: 305 kB / 0.9031 GB, free: 157.8 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.04958/2.042, allocations: 20.93 MB / 0.9236 GB, free: 157.2 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/2.042, allocations: 0 / 0.9236 GB, free: 157.2 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.007399/2.05, allocations: 4.203 MB / 0.9277 GB, free: 156.8 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006129/2.056, allocations: 1.134 MB / 0.9288 GB, free: 156.7 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/2.09, allocations: 24.01 MB / 0.9522 GB, free: 143.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009125/2.099, allocations: 7.003 MB / 0.959 GB, free: 137.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.006724/2.106, allocations: 2.318 MB / 0.9613 GB, free: 136.3 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/2.108, allocations: 416.7 kB / 0.9617 GB, free: 135.9 MB / 0.4982 GB Notification: Performance of SimCode: time 1.012e-06/2.108, allocations: 0 / 0.9617 GB, free: 135.9 MB / 0.4982 GB Notification: Performance of Templates: time 0.1228/2.23, allocations: 82.87 MB / 1.043 GB, free: 58.47 MB / 0.4982 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile (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)