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.009059/0.009059, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.407/1.407, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001514/0.001514, allocations: 196.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03489/0.03489, allocations: 8.785 MB / 348.6 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 75.88 kB / 464 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 51.56 MB / 0.5035 GB, free: 9.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01818/0.1218, allocations: 15.92 MB / 0.519 GB, free: 9.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.1332, allocations: 5.305 MB / 0.5242 GB, free: 4.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003886/0.1372, allocations: 99.69 kB / 0.5243 GB, free: 4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00435/0.1415, allocations: 1.239 MB / 0.5255 GB, free: 2.75 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.006168/0.1478, allocations: 1.577 MB / 0.527 GB, free: 1.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.1511, allocations: 0.982 MB / 0.528 GB, free: 188 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2445/0.3956, allocations: 4.592 MB / 0.5325 GB, free: 6.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005157/0.4008, allocations: 3.496 MB / 0.5359 GB, free: 5.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004612/0.4055, allocations: 2.062 MB / 0.5379 GB, free: 5.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005303/0.4108, allocations: 2.324 MB / 0.5402 GB, free: 4.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001965/0.4128, allocations: 0.5641 MB / 0.5407 GB, free: 4.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.4163, allocations: 0.7705 MB / 0.5415 GB, free: 4.949 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00231/0.4187, allocations: 1.238 MB / 0.5427 GB, free: 4.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008855/0.4275, allocations: 2.377 MB / 0.545 GB, free: 4.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.4411, allocations: 7.312 MB / 0.5521 GB, free: 3.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.4412, allocations: 3.938 kB / 0.5522 GB, free: 3.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4412, allocations: 0 / 0.5522 GB, free: 3.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002944/0.4415, allocations: 0 / 0.5522 GB, free: 3.254 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.01636/0.4579, allocations: 4.835 MB / 0.5569 GB, free: 296 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4579, allocations: 12.53 kB / 0.5569 GB, free: 292 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006108/0.464, allocations: 0.9396 MB / 0.5578 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007659/0.4717, allocations: 2.744 MB / 0.5605 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/0.4721, allocations: 279.5 kB / 0.5607 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/0.4739, allocations: 366.8 kB / 0.5611 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/0.4882, allocations: 4.683 MB / 0.5657 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.4883, allocations: 6.75 kB / 0.5657 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004782/0.4888, allocations: 150.1 kB / 0.5658 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.489, allocations: 159.9 kB / 0.566 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007837/0.4969, allocations: 3.894 MB / 0.5698 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/0.5234, allocations: 15.33 MB / 0.5847 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005455/0.5289, allocations: 6.075 MB / 0.5907 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/0.5312, allocations: 1.379 MB / 0.592 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008038/0.5393, allocations: 4.186 MB / 0.5961 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.5394, allocations: 51.88 kB / 0.5962 GB, free: 11.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.497e-06/0.5394, allocations: 0 / 0.5962 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01154/0.5509, allocations: 5.133 MB / 0.6012 GB, free: 6.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.551, allocations: 72.7 kB / 0.6012 GB, free: 6.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00515/0.5562, allocations: 1.988 MB / 0.6032 GB, free: 4.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.5565, allocations: 53.7 kB / 0.6032 GB, free: 4.523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.5581, allocations: 1.659 MB / 0.6049 GB, free: 2.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000559/0.5587, allocations: 485.1 kB / 0.6053 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006442/0.5593, allocations: 359.1 kB / 0.6057 GB, free: 2.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.5594, allocations: 305.1 kB / 0.606 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.5607, allocations: 0.6598 MB / 0.6066 GB, free: 1.066 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.5624, allocations: 1.385 MB / 0.608 GB, free: 15.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.5653, allocations: 2.187 MB / 0.6101 GB, free: 12.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-05/0.5653, allocations: 8.844 kB / 0.6101 GB, free: 12.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004445/0.5698, allocations: 2.482 MB / 0.6125 GB, free: 10.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.5699, allocations: 19.66 kB / 0.6125 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/0.5699, allocations: 20 kB / 0.6126 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004078/0.5703, allocations: 154.1 kB / 0.6127 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.572, allocations: 463 kB / 0.6131 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.5741, allocations: 2.115 MB / 0.6152 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.5761, allocations: 75.83 kB / 0.6153 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.5764, allocations: 95.98 kB / 0.6154 GB, free: 7.562 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.00217/0.5786, allocations: 1.071 MB / 0.6164 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006323/0.5792, allocations: 213.4 kB / 0.6166 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.583, allocations: 2.014 MB / 0.6186 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.583, allocations: 12 kB / 0.6186 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.5831, allocations: 8 kB / 0.6186 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.5831, allocations: 11.91 kB / 0.6186 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.5942, allocations: 4.919 MB / 0.6234 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.5942, allocations: 3.984 kB / 0.6234 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009483/0.5952, allocations: 206.3 kB / 0.6236 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009534/0.5962, allocations: 322.8 kB / 0.6239 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.5963, allocations: 43.86 kB / 0.624 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00698/0.6033, allocations: 7.082 MB / 0.6309 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6033, allocations: 8.016 kB / 0.6309 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004788/0.6081, allocations: 2.891 MB / 0.6337 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.6094, allocations: 430.4 kB / 0.6341 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000717/0.6102, allocations: 36.36 kB / 0.6342 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.6116, allocations: 47.97 kB / 0.6342 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.6119, allocations: 112.5 kB / 0.6343 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.612, allocations: 39.98 kB / 0.6344 GB, free: 3.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00273/0.6148, allocations: 1.347 MB / 0.6357 GB, free: 2.207 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6148, allocations: 0 / 0.6357 GB, free: 2.207 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003047/0.6178, allocations: 0.5938 MB / 0.6363 GB, free: 1.613 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.0004866/0.6183, allocations: 162.2 kB / 0.6364 GB, free: 1.453 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003635/0.622, allocations: 1.89 MB / 0.6383 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.622, allocations: 4.5 kB / 0.6383 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.6241, allocations: 1.218 MB / 0.6394 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/0.6279, allocations: 0.5668 MB / 0.64 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.6435, allocations: 5.962 MB / 0.6458 GB, free: 7.695 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/0.647, allocations: 2.402 MB / 0.6482 GB, free: 5.262 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001995/0.649, allocations: 466.7 kB / 0.6486 GB, free: 4.801 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006158/0.6497, allocations: 143.4 kB / 0.6488 GB, free: 4.66 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6497, allocations: 0 / 0.6488 GB, free: 4.66 MB / 462.1 MB Notification: Performance of Templates: time 0.0595/0.7092, allocations: 29.51 MB / 0.6776 GB, free: 7.48 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)