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.001529/0.001529, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.501/2.501, allocations: 222.9 MB / 239.5 MB, free: 4.746 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.003047/0.003047, allocations: 180.5 kB / 289.8 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06214/0.06214, allocations: 8.792 MB / 348.7 MB, free: 4.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002927/0.002928, allocations: 76.52 kB / 411.1 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1936, allocations: 51.56 MB / 462.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.05353/0.2472, allocations: 26.54 MB / 489.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03257/0.2798, allocations: 7.985 MB / 497.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01047/0.2904, allocations: 187.4 kB / 497.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03546/0.3259, allocations: 8.826 MB / 0.4943 GB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02332/0.3493, allocations: 3.055 MB / 0.4973 GB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01125/0.3606, allocations: 1.693 MB / 0.4989 GB, free: 14.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02958/0.3902, allocations: 12.22 MB / 0.5109 GB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5246/0.9148, allocations: 20.24 MB / 0.5306 GB, free: 15.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01861/0.9335, allocations: 5.598 MB / 0.5361 GB, free: 15.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02475/0.9583, allocations: 6.853 MB / 0.5428 GB, free: 14.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01221/0.9706, allocations: 1.221 MB / 0.544 GB, free: 14.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01561/0.9863, allocations: 1.575 MB / 0.5455 GB, free: 14.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01146/0.9978, allocations: 2.972 MB / 0.5484 GB, free: 13.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02681/1.025, allocations: 6.263 MB / 0.5545 GB, free: 12.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03397/1.059, allocations: 21.56 MB / 0.5756 GB, free: 2.652 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/1.059, allocations: 3.938 kB / 0.5756 GB, free: 2.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.046e-06/1.059, allocations: 0 / 0.5756 GB, free: 2.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000944/1.06, allocations: 0 / 0.5756 GB, free: 2.648 MB / 366.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.07977/1.14, allocations: 14.57 MB / 0.5898 GB, free: 9.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.34e-05/1.14, allocations: 10.91 kB / 0.5898 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0783/1.218, allocations: 8.432 MB / 0.5981 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02834/1.246, allocations: 7.445 MB / 0.6053 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001383/1.248, allocations: 0.8089 MB / 0.6061 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007713/1.256, allocations: 1.068 MB / 0.6072 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08023/1.336, allocations: 18.3 MB / 0.625 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007053/1.337, allocations: 20.16 kB / 0.625 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006969/1.344, allocations: 452.7 kB / 0.6255 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00129/1.345, allocations: 0.6672 MB / 0.6261 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06478/1.41, allocations: 17.54 MB / 0.6433 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1954/1.605, allocations: 58.7 MB / 0.7006 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5029/2.108, allocations: 37.49 MB / 0.7372 GB, free: 120.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01447/2.123, allocations: 4.145 MB / 0.7412 GB, free: 120.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/2.124, allocations: 193.8 kB / 0.7414 GB, free: 120.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/2.124, allocations: 89 kB / 0.7415 GB, free: 120.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=524): time 4.076e-05/2.124, allocations: 0 / 0.7415 GB, free: 120.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=530): time 0.09754/2.222, allocations: 21.86 MB / 0.7629 GB, free: 117.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/2.222, allocations: 104.9 kB / 0.763 GB, free: 117.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/2.234, allocations: 4.173 MB / 0.767 GB, free: 116.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001565/2.236, allocations: 112.5 kB / 0.7671 GB, free: 116.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00424/2.24, allocations: 4.506 MB / 0.7715 GB, free: 112.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003481/2.244, allocations: 1.791 MB / 0.7733 GB, free: 111.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004167/2.248, allocations: 1.359 MB / 0.7746 GB, free: 110.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.582e-05/2.248, allocations: 305.1 kB / 0.7749 GB, free: 110.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009457/2.258, allocations: 3.473 MB / 0.7783 GB, free: 109.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01242/2.27, allocations: 5.911 MB / 0.7841 GB, free: 104.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02205/2.292, allocations: 10.08 MB / 0.7939 GB, free: 98.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/2.292, allocations: 25.5 kB / 0.7939 GB, free: 98.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.0372/2.33, allocations: 11 MB / 0.8047 GB, free: 90.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/2.33, allocations: 37.72 kB / 0.8047 GB, free: 90.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/2.33, allocations: 80 kB / 0.8048 GB, free: 90.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006612/2.337, allocations: 1.379 MB / 0.8061 GB, free: 89.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/2.348, allocations: 1.613 MB / 0.8077 GB, free: 87.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02498/2.373, allocations: 10.58 MB / 0.8181 GB, free: 77.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01082/2.384, allocations: 407.3 kB / 0.8184 GB, free: 76.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002751/2.387, allocations: 339.6 kB / 0.8188 GB, free: 76.43 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.02041/2.407, allocations: 4.166 MB / 0.8228 GB, free: 72.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003271/2.411, allocations: 474.2 kB / 0.8233 GB, free: 71.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03214/2.443, allocations: 8.537 MB / 0.8316 GB, free: 63.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02436/2.467, allocations: 7.136 MB / 0.8386 GB, free: 55.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.44e-05/2.467, allocations: 12.69 kB / 0.8386 GB, free: 55.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002027/2.468, allocations: 27.89 kB / 0.8386 GB, free: 55.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07222/2.54, allocations: 19.4 MB / 0.8576 GB, free: 36.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001257/2.54, allocations: 3.984 kB / 0.8576 GB, free: 36.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007758/2.548, allocations: 0.9361 MB / 0.8585 GB, free: 35.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006169/2.554, allocations: 1.242 MB / 0.8597 GB, free: 34.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001647/2.556, allocations: 112 kB / 0.8598 GB, free: 33.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02167/2.578, allocations: 9.302 MB / 0.8689 GB, free: 24.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/2.578, allocations: 0 / 0.8689 GB, free: 24.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0362/2.614, allocations: 12.36 MB / 0.881 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005815/2.62, allocations: 1.159 MB / 0.8821 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002631/2.622, allocations: 92 kB / 0.8822 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006559/2.629, allocations: 275.8 kB / 0.8824 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001935/2.631, allocations: 352.3 kB / 0.8828 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008075/2.632, allocations: 152 kB / 0.8829 GB, free: 9.898 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008815/2.641, allocations: 2.819 MB / 0.8857 GB, free: 7.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.142e-06/2.641, allocations: 0 / 0.8857 GB, free: 7.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01519/2.656, allocations: 1.934 MB / 0.8876 GB, free: 5.141 MB / 494.1 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 (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.002167/2.658, allocations: 307.1 kB / 0.8879 GB, free: 4.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.3782/3.036, allocations: 8.762 MB / 0.8964 GB, free: 147.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/3.036, allocations: 2.969 kB / 0.8964 GB, free: 147.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01535/3.052, allocations: 4.201 MB / 0.9005 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01313/3.065, allocations: 1.075 MB / 0.9016 GB, free: 147.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07879/3.144, allocations: 23.72 MB / 0.9247 GB, free: 137.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02444/3.168, allocations: 6.8 MB / 0.9314 GB, free: 136.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004887/3.173, allocations: 463 kB / 0.9318 GB, free: 136.6 MB / 494.1 MB Notification: Performance of SimCode: time 2.084e-06/3.173, allocations: 0 / 0.9318 GB, free: 136.6 MB / 494.1 MB Notification: Performance of Templates: time 0.7283/3.902, allocations: 181.5 MB / 1.109 GB, free: 134.2 MB / 494.1 MB 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)