Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009796/0.0009799, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.531/1.531, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.001279/0.001279, allocations: 176.5 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03744/0.03744, allocations: 8.8 MB / 350.5 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004194, allocations: 10.91 kB / 413.8 MB, free: 42.8 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1075, allocations: 52.56 MB / 466.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.04183/0.1494, allocations: 42.78 MB / 0.4972 GB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02945/0.1789, allocations: 11.57 MB / 0.5085 GB, free: 6.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01247/0.1914, allocations: 326.8 kB / 0.5088 GB, free: 6.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.2027, allocations: 2.924 MB / 0.5117 GB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02067/0.2234, allocations: 4.356 MB / 0.5159 GB, free: 14.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01282/0.2362, allocations: 2.622 MB / 0.5185 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2967/0.5329, allocations: 21.28 MB / 0.5393 GB, free: 7.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08176/0.6147, allocations: 39.49 MB / 0.5778 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01523/0.63, allocations: 7.638 MB / 0.5853 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01768/0.6477, allocations: 9.271 MB / 0.5944 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006515/0.6543, allocations: 1.215 MB / 0.5955 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/0.6659, allocations: 1.615 MB / 0.5971 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008088/0.674, allocations: 3.941 MB / 0.601 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02123/0.6953, allocations: 9.38 MB / 0.6101 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05154/0.7469, allocations: 38.84 MB / 0.6481 GB, free: 14.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.7469, allocations: 0 / 0.6481 GB, free: 14.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.747, allocations: 4 kB / 0.6481 GB, free: 14.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001509/0.7485, allocations: 0 / 0.6481 GB, free: 14.15 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: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.06737/0.8159, allocations: 19.88 MB / 0.6675 GB, free: 10.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.8159, allocations: 12.03 kB / 0.6675 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06336/0.8793, allocations: 11.35 MB / 0.6786 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03346/0.9128, allocations: 13.06 MB / 0.6913 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002049/0.9149, allocations: 1.365 MB / 0.6927 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008248/0.9232, allocations: 1.794 MB / 0.6944 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4954/1.419, allocations: 29.61 MB / 0.7233 GB, free: 132.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009969/1.42, allocations: 18.91 kB / 0.7234 GB, free: 132.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007531/1.427, allocations: 0.7446 MB / 0.7241 GB, free: 132.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001563/1.429, allocations: 0.9883 MB / 0.725 GB, free: 132.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06447/1.493, allocations: 27.33 MB / 0.7517 GB, free: 120.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1669/1.66, allocations: 94.36 MB / 0.8439 GB, free: 36.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04417/1.704, allocations: 52.01 MB / 0.8947 GB, free: 11.16 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01479/1.719, allocations: 7.351 MB / 0.9018 GB, free: 3.793 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4643/2.184, allocations: 20.2 MB / 0.9216 GB, free: 152.7 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.761e-05/2.184, allocations: 115.1 kB / 0.9217 GB, free: 152.7 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=683): time 7.554e-06/2.184, allocations: 0 / 0.9217 GB, free: 152.7 MB / 0.5139 GB Notification: Performance of matching and sorting (n=691): time 0.08078/2.265, allocations: 38.95 MB / 0.9597 GB, free: 136.8 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/2.265, allocations: 154 kB / 0.9599 GB, free: 136.7 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/2.276, allocations: 7.102 MB / 0.9668 GB, free: 134.1 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.001578/2.278, allocations: 136.8 kB / 0.9669 GB, free: 134 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.005868/2.284, allocations: 7.802 MB / 0.9746 GB, free: 128.2 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.003896/2.287, allocations: 2.345 MB / 0.9768 GB, free: 126.4 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002575/2.29, allocations: 0.7671 MB / 0.9776 GB, free: 126 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 5.202e-05/2.29, allocations: 305.1 kB / 0.9779 GB, free: 125.7 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007488/2.298, allocations: 4.913 MB / 0.9827 GB, free: 123.9 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01018/2.308, allocations: 8.382 MB / 0.9909 GB, free: 116.9 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/2.325, allocations: 14.1 MB / 1.005 GB, free: 101.3 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/2.325, allocations: 32 kB / 1.005 GB, free: 101.2 MB / 0.5139 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02894/2.354, allocations: 16.19 MB / 1.02 GB, free: 84.89 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001968/2.354, allocations: 53.72 kB / 1.021 GB, free: 84.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000227/2.355, allocations: 116.1 kB / 1.021 GB, free: 84.73 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0063/2.361, allocations: 2.559 MB / 1.023 GB, free: 82.15 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007799/2.369, allocations: 2.098 MB / 1.025 GB, free: 80.05 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03009/2.399, allocations: 28.58 MB / 1.053 GB, free: 50.41 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008242/2.407, allocations: 0.5306 MB / 1.054 GB, free: 49.88 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001947/2.409, allocations: 463.9 kB / 1.054 GB, free: 49.43 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (18,100,41.7%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01302/2.422, allocations: 6.761 MB / 1.061 GB, free: 42.65 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002631/2.425, allocations: 0.7679 MB / 1.061 GB, free: 41.87 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0277/2.453, allocations: 13.19 MB / 1.074 GB, free: 28.46 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01507/2.468, allocations: 8.307 MB / 1.082 GB, free: 20.06 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001086/2.468, allocations: 32 kB / 1.082 GB, free: 20.03 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001949/2.468, allocations: 43.8 kB / 1.082 GB, free: 19.98 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3172/2.785, allocations: 28.11 MB / 1.11 GB, free: 137.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/2.785, allocations: 5.875 kB / 1.11 GB, free: 137.2 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005041/2.79, allocations: 1.105 MB / 1.111 GB, free: 137.2 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/2.797, allocations: 2.637 MB / 1.114 GB, free: 137.1 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001258/2.798, allocations: 152.6 kB / 1.114 GB, free: 137.1 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03091/2.829, allocations: 33.01 MB / 1.146 GB, free: 114.6 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/2.829, allocations: 10 kB / 1.146 GB, free: 114.6 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02927/2.858, allocations: 18.94 MB / 1.164 GB, free: 106.6 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00433/2.863, allocations: 1.774 MB / 1.166 GB, free: 106 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001904/2.864, allocations: 127.4 kB / 1.166 GB, free: 105.9 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004952/2.869, allocations: 413.1 kB / 1.167 GB, free: 105.8 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001597/2.871, allocations: 0.5261 MB / 1.167 GB, free: 105.7 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005005/2.872, allocations: 199.7 kB / 1.167 GB, free: 105.7 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.008618/2.88, allocations: 4.787 MB / 1.172 GB, free: 103.9 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7.71e-07/2.88, allocations: 3.969 kB / 1.172 GB, free: 103.9 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.013/2.893, allocations: 3.056 MB / 1.175 GB, free: 103.7 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (563): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/2.895, allocations: 358.5 kB / 1.175 GB, free: 103.4 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.01787/2.913, allocations: 13.46 MB / 1.189 GB, free: 93.9 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/2.913, allocations: 4 kB / 1.189 GB, free: 93.89 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.01004/2.923, allocations: 7.608 MB / 1.196 GB, free: 87.1 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01393/2.937, allocations: 2.018 MB / 1.198 GB, free: 85.45 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06099/2.998, allocations: 40.23 MB / 1.237 GB, free: 45.73 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01785/3.016, allocations: 11.35 MB / 1.248 GB, free: 34.33 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0111/3.027, allocations: 3.285 MB / 1.252 GB, free: 31.04 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002788/3.03, allocations: 0.5618 MB / 1.252 GB, free: 30.47 MB / 0.5139 GB Notification: Performance of SimCode: time 9.21e-07/3.03, allocations: 7.938 kB / 1.252 GB, free: 30.46 MB / 0.5139 GB Notification: Performance of Templates: time 0.4536/3.483, allocations: 129.9 MB / 1.379 GB, free: 90.71 MB / 0.5295 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile Environment - environmentSimulation: (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) Environment - environmentSimulation: