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.00153/0.00153, allocations: 101.5 kB / 16.27 MB, free: 5.965 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.609 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.001826/0.001826, allocations: 200.4 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03493/0.03493, allocations: 8.792 MB / 349.2 MB, free: 4.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 76.02 kB / 411.7 MB, free: 42.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1176, allocations: 51.57 MB / 463.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02874/0.1464, allocations: 27.01 MB / 490.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01939/0.1658, allocations: 8.05 MB / 498.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007208/0.1731, allocations: 203.4 kB / 498.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0222/0.1953, allocations: 9.318 MB / 0.496 GB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01376/0.2091, allocations: 3.308 MB / 0.4992 GB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00755/0.2167, allocations: 1.819 MB / 0.501 GB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01961/0.2363, allocations: 12.05 MB / 0.5128 GB, free: 424 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3035/0.5398, allocations: 24.48 MB / 0.5367 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01457/0.5545, allocations: 6.437 MB / 0.5429 GB, free: 11.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01369/0.5682, allocations: 7.211 MB / 0.55 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006529/0.5748, allocations: 1.844 MB / 0.5518 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/0.5864, allocations: 2.204 MB / 0.5539 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007939/0.5944, allocations: 3.617 MB / 0.5575 GB, free: 9.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01477/0.6092, allocations: 6.923 MB / 0.5642 GB, free: 8.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0272/0.6364, allocations: 24.61 MB / 0.5883 GB, free: 9.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.6365, allocations: 4 kB / 0.5883 GB, free: 9.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6365, allocations: 0 / 0.5883 GB, free: 9.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007746/0.6373, allocations: 0 / 0.5883 GB, free: 9.746 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.04908/0.6864, allocations: 14.55 MB / 0.6025 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/0.6864, allocations: 8.031 kB / 0.6025 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05002/0.7365, allocations: 8.43 MB / 0.6107 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/0.7558, allocations: 7.45 MB / 0.618 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001104/0.7569, allocations: 0.8117 MB / 0.6188 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005921/0.7629, allocations: 1.059 MB / 0.6198 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05697/0.8198, allocations: 18.29 MB / 0.6377 GB, free: 7.516 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006246/0.8205, allocations: 11.91 kB / 0.6377 GB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0052/0.8258, allocations: 453 kB / 0.6381 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009062/0.8267, allocations: 0.6673 MB / 0.6388 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04182/0.8685, allocations: 17.53 MB / 0.6559 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5644/1.433, allocations: 58.72 MB / 0.7133 GB, free: 130.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03045/1.463, allocations: 37.48 MB / 0.7498 GB, free: 100.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006035/1.47, allocations: 4.121 MB / 0.7539 GB, free: 100.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000537/1.47, allocations: 193 kB / 0.7541 GB, free: 100.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.714e-05/1.47, allocations: 87.09 kB / 0.7541 GB, free: 100.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=518): time 8.967e-06/1.47, allocations: 4.594 kB / 0.7541 GB, free: 100.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=524): time 0.04669/1.517, allocations: 21.45 MB / 0.7751 GB, free: 97.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/1.517, allocations: 115.3 kB / 0.7752 GB, free: 97.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006272/1.523, allocations: 4.171 MB / 0.7793 GB, free: 97.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009671/1.524, allocations: 104.6 kB / 0.7794 GB, free: 97.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.527, allocations: 4.521 MB / 0.7838 GB, free: 93.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002/1.529, allocations: 1.78 MB / 0.7855 GB, free: 92.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002238/1.531, allocations: 1.347 MB / 0.7868 GB, free: 91.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.31e-05/1.531, allocations: 305.1 kB / 0.7871 GB, free: 91.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004896/1.536, allocations: 3.444 MB / 0.7905 GB, free: 90.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00675/1.543, allocations: 5.882 MB / 0.7962 GB, free: 85.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/1.555, allocations: 10.02 MB / 0.806 GB, free: 78.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.735e-05/1.555, allocations: 22.66 kB / 0.806 GB, free: 78.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02028/1.575, allocations: 10.94 MB / 0.8167 GB, free: 71.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.485e-05/1.576, allocations: 46.12 kB / 0.8168 GB, free: 71.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/1.576, allocations: 76 kB / 0.8168 GB, free: 71.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/1.579, allocations: 1.428 MB / 0.8182 GB, free: 70.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006212/1.586, allocations: 1.611 MB / 0.8198 GB, free: 68.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/1.6, allocations: 11.47 MB / 0.831 GB, free: 56.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005677/1.606, allocations: 411.2 kB / 0.8314 GB, free: 56.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/1.608, allocations: 328 kB / 0.8317 GB, free: 56.17 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.007376/1.615, allocations: 4.173 MB / 0.8358 GB, free: 51.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.616, allocations: 478.1 kB / 0.8363 GB, free: 51.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/1.629, allocations: 8.481 MB / 0.8445 GB, free: 42.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01031/1.639, allocations: 7.08 MB / 0.8514 GB, free: 35.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-05/1.64, allocations: 12.56 kB / 0.8515 GB, free: 35.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-05/1.64, allocations: 27.89 kB / 0.8515 GB, free: 35.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03241/1.672, allocations: 19.33 MB / 0.8704 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/1.672, allocations: 4 kB / 0.8704 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003661/1.676, allocations: 0.9286 MB / 0.8713 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003312/1.679, allocations: 1.285 MB / 0.8725 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007779/1.68, allocations: 112 kB / 0.8726 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/1.692, allocations: 10.16 MB / 0.8826 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.692, allocations: 5.75 kB / 0.8826 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01997/1.712, allocations: 12.27 MB / 0.8945 GB, free: 7.02 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003287/1.715, allocations: 1.155 MB / 0.8957 GB, free: 5.84 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/1.716, allocations: 92 kB / 0.8958 GB, free: 5.75 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002955/1.719, allocations: 275.8 kB / 0.896 GB, free: 5.48 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000837/1.72, allocations: 356.3 kB / 0.8964 GB, free: 5.129 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000321/1.721, allocations: 148 kB / 0.8965 GB, free: 4.984 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.004717/1.725, allocations: 2.819 MB / 0.8993 GB, free: 2.152 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2e-07/1.725, allocations: 4 kB / 0.8993 GB, free: 2.148 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.007361/1.733, allocations: 1.933 MB / 0.9012 GB, free: 224 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 (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.1917/1.924, allocations: 300 kB / 0.9014 GB, free: 165 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.04813/1.973, allocations: 20.61 MB / 0.9216 GB, free: 164.4 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.973, allocations: 0 / 0.9216 GB, free: 164.4 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006838/1.979, allocations: 4.176 MB / 0.9256 GB, free: 164.1 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005427/1.985, allocations: 1.117 MB / 0.9267 GB, free: 164 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/2.015, allocations: 19.12 MB / 0.9454 GB, free: 152.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006691/2.022, allocations: 6.807 MB / 0.952 GB, free: 147.3 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002002/2.024, allocations: 465.5 kB / 0.9525 GB, free: 146.9 MB / 0.4982 GB Notification: Performance of SimCode: time 1.042e-06/2.024, allocations: 0 / 0.9525 GB, free: 146.9 MB / 0.4982 GB Notification: Performance of Templates: time 0.387/2.411, allocations: 181.3 MB / 1.13 GB, free: 139.9 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)