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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03737/0.03737, allocations: 8.794 MB / 25.53 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 251.3 MB, free: 7.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 108.7 kB / 303.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 366 MB, free: 164 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1994, allocations: 51.55 MB / 417.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.01971/0.2192, allocations: 26.52 MB / 444.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01447/0.2337, allocations: 7.998 MB / 452.1 MB, free: 2.242 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004974/0.2387, allocations: 187.4 kB / 452.2 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01888/0.2576, allocations: 8.821 MB / 461.1 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009452/0.2671, allocations: 3.048 MB / 464.1 MB, free: 6.164 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004504/0.2716, allocations: 1.697 MB / 465.8 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01529/0.2869, allocations: 12.4 MB / 478.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02943/0.3164, allocations: 20.24 MB / 498.5 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2116/0.528, allocations: 5.625 MB / 0.4923 GB, free: 18.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.5391, allocations: 6.855 MB / 0.499 GB, free: 18.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005997/0.5452, allocations: 1.216 MB / 0.5001 GB, free: 18.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008862/0.5541, allocations: 1.581 MB / 0.5017 GB, free: 18.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005743/0.5599, allocations: 2.976 MB / 0.5046 GB, free: 18.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01357/0.5735, allocations: 6.263 MB / 0.5107 GB, free: 16.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02555/0.599, allocations: 24.19 MB / 0.5343 GB, free: 3.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/0.5991, allocations: 0 / 0.5343 GB, free: 3.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5992, allocations: 3.312 kB / 0.5343 GB, free: 3.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.001266/0.6004, allocations: 0 / 0.5343 GB, free: 3.18 MB / 362.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.04611/0.6465, allocations: 14.56 MB / 0.5486 GB, free: 8.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.6466, allocations: 8.031 kB / 0.5486 GB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04381/0.6904, allocations: 8.433 MB / 0.5568 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/0.7074, allocations: 7.444 MB / 0.5641 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007725/0.7082, allocations: 0.8148 MB / 0.5649 GB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003977/0.7122, allocations: 1.059 MB / 0.5659 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04127/0.7535, allocations: 18.3 MB / 0.5838 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004729/0.754, allocations: 15.91 kB / 0.5838 GB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003316/0.7573, allocations: 449.3 kB / 0.5842 GB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007548/0.7581, allocations: 0.6703 MB / 0.5849 GB, free: 3.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03694/0.7951, allocations: 17.54 MB / 0.602 GB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1054/0.9005, allocations: 58.7 MB / 0.6593 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2213/1.122, allocations: 37.49 MB / 0.6959 GB, free: 126.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006773/1.129, allocations: 4.144 MB / 0.7 GB, free: 126.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/1.129, allocations: 196.4 kB / 0.7002 GB, free: 126.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/1.129, allocations: 87.38 kB / 0.7003 GB, free: 126.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 6.773e-06/1.129, allocations: 3.562 kB / 0.7003 GB, free: 126.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=530): time 0.04053/1.17, allocations: 21.86 MB / 0.7216 GB, free: 118.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/1.17, allocations: 102.5 kB / 0.7217 GB, free: 118 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/1.175, allocations: 4.176 MB / 0.7258 GB, free: 116.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006112/1.175, allocations: 113.2 kB / 0.7259 GB, free: 116.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/1.177, allocations: 4.499 MB / 0.7303 GB, free: 112.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001409/1.178, allocations: 1.799 MB / 0.732 GB, free: 111.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/1.18, allocations: 1.354 MB / 0.7334 GB, free: 110.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.588e-05/1.18, allocations: 305.1 kB / 0.7337 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004026/1.184, allocations: 3.475 MB / 0.7371 GB, free: 109.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005317/1.19, allocations: 5.92 MB / 0.7428 GB, free: 104.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/1.2, allocations: 10.08 MB / 0.7527 GB, free: 95.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.823e-05/1.2, allocations: 24 kB / 0.7527 GB, free: 95.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01728/1.218, allocations: 11 MB / 0.7634 GB, free: 84.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/1.218, allocations: 43.98 kB / 0.7635 GB, free: 84.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-05/1.218, allocations: 76 kB / 0.7636 GB, free: 84.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003228/1.221, allocations: 1.377 MB / 0.7649 GB, free: 82.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006064/1.227, allocations: 1.611 MB / 0.7665 GB, free: 81.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/1.24, allocations: 10.58 MB / 0.7768 GB, free: 70.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004797/1.245, allocations: 407.3 kB / 0.7772 GB, free: 70.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008626/1.245, allocations: 332 kB / 0.7775 GB, free: 69.94 MB / 490.7 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.005738/1.251, allocations: 4.165 MB / 0.7816 GB, free: 65.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009532/1.252, allocations: 483.7 kB / 0.782 GB, free: 65.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/1.264, allocations: 8.533 MB / 0.7904 GB, free: 56.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009529/1.274, allocations: 7.136 MB / 0.7973 GB, free: 49.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/1.274, allocations: 12 kB / 0.7974 GB, free: 49.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.531e-05/1.274, allocations: 27.89 kB / 0.7974 GB, free: 49.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0288/1.302, allocations: 19.39 MB / 0.8163 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.302, allocations: 4 kB / 0.8163 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003276/1.306, allocations: 0.9323 MB / 0.8172 GB, free: 28.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/1.309, allocations: 1.239 MB / 0.8184 GB, free: 27.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004649/1.309, allocations: 115.9 kB / 0.8186 GB, free: 27.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/1.32, allocations: 9.306 MB / 0.8276 GB, free: 17.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.32, allocations: 7.938 kB / 0.8276 GB, free: 17.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2122/1.532, allocations: 20.5 MB / 0.8477 GB, free: 145.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00322/1.536, allocations: 1.166 MB / 0.8488 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000673/1.536, allocations: 96.03 kB / 0.8489 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/1.539, allocations: 272.7 kB / 0.8492 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007336/1.539, allocations: 351.6 kB / 0.8495 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000306/1.54, allocations: 150.9 kB / 0.8496 GB, free: 145 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003693/1.543, allocations: 2.813 MB / 0.8524 GB, free: 144.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.543, allocations: 0 / 0.8524 GB, free: 144.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006073/1.549, allocations: 2.187 MB / 0.8545 GB, free: 144.8 MB / 490.7 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.0006658/1.55, allocations: 306.6 kB / 0.8548 GB, free: 144.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01211/1.562, allocations: 8.763 MB / 0.8634 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.562, allocations: 1.594 kB / 0.8634 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006026/1.568, allocations: 4.214 MB / 0.8675 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/1.573, allocations: 1.068 MB / 0.8685 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/1.608, allocations: 27.04 MB / 0.8949 GB, free: 124.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01057/1.618, allocations: 7.155 MB / 0.9019 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006528/1.625, allocations: 2.311 MB / 0.9042 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/1.626, allocations: 418.5 kB / 0.9046 GB, free: 118.6 MB / 490.7 MB Notification: Performance of SimCode: time 7.22e-07/1.626, allocations: 4 kB / 0.9046 GB, free: 118.5 MB / 490.7 MB Notification: Performance of Templates: time 0.1099/1.736, allocations: 82.3 MB / 0.985 GB, free: 40.11 MB / 490.7 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)