Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008207/0.008207, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.42/1.42, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001495/0.001495, allocations: 188.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03633/0.03633, allocations: 8.79 MB / 348.6 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 75.88 kB / 464 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1099, allocations: 51.56 MB / 0.5035 GB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01947/0.1294, allocations: 15.92 MB / 0.519 GB, free: 9.441 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009745/0.1392, allocations: 5.298 MB / 0.5242 GB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.1415, allocations: 95.62 kB / 0.5243 GB, free: 4.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003506/0.1451, allocations: 1.247 MB / 0.5255 GB, free: 2.777 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.00511/0.1502, allocations: 1.577 MB / 0.527 GB, free: 1.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.1531, allocations: 0.9854 MB / 0.528 GB, free: 216 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2184/0.3715, allocations: 4.587 MB / 0.5325 GB, free: 6.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005764/0.3773, allocations: 3.492 MB / 0.5359 GB, free: 5.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/0.3807, allocations: 2.057 MB / 0.5379 GB, free: 5.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003824/0.3845, allocations: 2.333 MB / 0.5402 GB, free: 4.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001289/0.3858, allocations: 0.56 MB / 0.5407 GB, free: 4.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.3881, allocations: 0.7754 MB / 0.5415 GB, free: 4.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.3894, allocations: 1.238 MB / 0.5427 GB, free: 4.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004354/0.3938, allocations: 2.374 MB / 0.545 GB, free: 4.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009706/0.4035, allocations: 7.314 MB / 0.5521 GB, free: 3.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4036, allocations: 3.938 kB / 0.5522 GB, free: 3.215 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.4036, allocations: 0.6875 kB / 0.5522 GB, free: 3.215 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002129/0.4038, allocations: 0 / 0.5522 GB, free: 3.215 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01382/0.4176, allocations: 4.839 MB / 0.5569 GB, free: 268 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4177, allocations: 9.656 kB / 0.5569 GB, free: 268 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005314/0.423, allocations: 0.9401 MB / 0.5578 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005902/0.4289, allocations: 2.744 MB / 0.5605 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.4291, allocations: 277.5 kB / 0.5607 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000662/0.4298, allocations: 364.7 kB / 0.5611 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00826/0.4381, allocations: 4.684 MB / 0.5657 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-05/0.4382, allocations: 0 / 0.5657 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000357/0.4385, allocations: 156.1 kB / 0.5658 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.4387, allocations: 153.2 kB / 0.566 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006557/0.4452, allocations: 3.904 MB / 0.5698 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02359/0.4688, allocations: 15.33 MB / 0.5847 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005951/0.4748, allocations: 6.064 MB / 0.5907 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/0.4772, allocations: 1.379 MB / 0.592 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007597/0.4848, allocations: 4.195 MB / 0.5961 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.4849, allocations: 43.88 kB / 0.5962 GB, free: 11.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.106e-06/0.4849, allocations: 0 / 0.5962 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01066/0.4955, allocations: 5.144 MB / 0.6012 GB, free: 6.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.4956, allocations: 64.72 kB / 0.6012 GB, free: 6.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/0.4988, allocations: 1.988 MB / 0.6032 GB, free: 4.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002208/0.4991, allocations: 53.7 kB / 0.6032 GB, free: 4.453 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.5003, allocations: 1.665 MB / 0.6049 GB, free: 2.777 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00042/0.5007, allocations: 478.2 kB / 0.6053 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005373/0.5013, allocations: 363.1 kB / 0.6057 GB, free: 1.953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.5014, allocations: 305.1 kB / 0.606 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.5024, allocations: 0.6637 MB / 0.6066 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.504, allocations: 1.379 MB / 0.6079 GB, free: 15.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.5068, allocations: 2.192 MB / 0.6101 GB, free: 12.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.5069, allocations: 8.844 kB / 0.6101 GB, free: 12.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004412/0.5113, allocations: 2.48 MB / 0.6125 GB, free: 10.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.5113, allocations: 12 kB / 0.6125 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.89e-05/0.5114, allocations: 24.59 kB / 0.6126 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/0.5118, allocations: 156.8 kB / 0.6127 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.5134, allocations: 455.1 kB / 0.6131 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.5155, allocations: 2.118 MB / 0.6152 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.5172, allocations: 83.81 kB / 0.6153 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.5174, allocations: 92 kB / 0.6154 GB, free: 7.492 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (242): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002029/0.5194, allocations: 1.076 MB / 0.6164 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.5198, allocations: 213.4 kB / 0.6166 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.5233, allocations: 2.006 MB / 0.6186 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.5234, allocations: 19.98 kB / 0.6186 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.5234, allocations: 4 kB / 0.6186 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.5234, allocations: 11.91 kB / 0.6186 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008545/0.532, allocations: 4.917 MB / 0.6234 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.532, allocations: 4 kB / 0.6234 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009017/0.5329, allocations: 202.6 kB / 0.6236 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008619/0.5338, allocations: 322.9 kB / 0.6239 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-05/0.5339, allocations: 43.86 kB / 0.624 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007064/0.541, allocations: 7.088 MB / 0.6309 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.541, allocations: 4.031 kB / 0.6309 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00482/0.5458, allocations: 2.894 MB / 0.6337 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.5471, allocations: 434.4 kB / 0.6341 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.5473, allocations: 32.38 kB / 0.6342 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009186/0.5483, allocations: 55.97 kB / 0.6342 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.5485, allocations: 101.1 kB / 0.6343 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.493e-05/0.5486, allocations: 43.45 kB / 0.6344 GB, free: 3.512 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002156/0.5508, allocations: 1.343 MB / 0.6357 GB, free: 2.148 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5508, allocations: 0 / 0.6357 GB, free: 2.148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002244/0.553, allocations: 0.6055 MB / 0.6363 GB, free: 1.543 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000319/0.5534, allocations: 157.5 kB / 0.6364 GB, free: 1.395 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003273/0.5567, allocations: 1.897 MB / 0.6383 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.5567, allocations: 0 / 0.6383 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.5586, allocations: 1.218 MB / 0.6395 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.5613, allocations: 0.5623 MB / 0.64 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.5725, allocations: 5.966 MB / 0.6458 GB, free: 7.672 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/0.5748, allocations: 2.398 MB / 0.6482 GB, free: 5.242 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001655/0.5765, allocations: 466.7 kB / 0.6486 GB, free: 4.781 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/0.5769, allocations: 143.4 kB / 0.6488 GB, free: 4.641 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5769, allocations: 4 kB / 0.6488 GB, free: 4.637 MB / 462.1 MB Notification: Performance of Templates: time 0.05496/0.6318, allocations: 29.5 MB / 0.6776 GB, free: 7.457 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1)