Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 110.8 kB / 16.42 MB, free: 6.512 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.299/1.299, allocations: 222.9 MB / 240.1 MB, free: 4.398 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.00123/0.00123, allocations: 196.4 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03546/0.03546, allocations: 8.8 MB / 349.3 MB, free: 4.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 79.86 kB / 464.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08055/0.08199, allocations: 51.58 MB / 0.5041 GB, free: 9.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01572/0.09773, allocations: 15.92 MB / 0.5197 GB, free: 9.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008752/0.1065, allocations: 5.301 MB / 0.5249 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.1086, allocations: 91.69 kB / 0.525 GB, free: 3.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003024/0.1117, allocations: 1.247 MB / 0.5262 GB, free: 2.715 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.00406/0.1158, allocations: 1.577 MB / 0.5277 GB, free: 1.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.118, allocations: 0.9815 MB / 0.5287 GB, free: 152 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1785/0.2966, allocations: 4.587 MB / 0.5332 GB, free: 6.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004748/0.3014, allocations: 3.491 MB / 0.5366 GB, free: 5.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.3044, allocations: 2.056 MB / 0.5386 GB, free: 5.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.308, allocations: 2.33 MB / 0.5408 GB, free: 4.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.3092, allocations: 0.5596 MB / 0.5414 GB, free: 4.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.3112, allocations: 0.7733 MB / 0.5421 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.3122, allocations: 1.239 MB / 0.5434 GB, free: 4.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00262/0.3149, allocations: 2.377 MB / 0.5457 GB, free: 4.207 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006706/0.3216, allocations: 7.314 MB / 0.5528 GB, free: 3.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3216, allocations: 8.547 kB / 0.5528 GB, free: 3.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3216, allocations: 2.156 kB / 0.5528 GB, free: 3.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001275/0.3218, allocations: 0 / 0.5528 GB, free: 3.27 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.01075/0.3325, allocations: 4.82 MB / 0.5575 GB, free: 324 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3326, allocations: 9.125 kB / 0.5575 GB, free: 324 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005124/0.3377, allocations: 0.9451 MB / 0.5585 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005082/0.3428, allocations: 2.745 MB / 0.5611 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.343, allocations: 279.1 kB / 0.5614 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000488/0.3435, allocations: 362.7 kB / 0.5618 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007554/0.351, allocations: 4.674 MB / 0.5663 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.141e-05/0.3511, allocations: 7.297 kB / 0.5663 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003653/0.3515, allocations: 154.3 kB / 0.5665 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.3516, allocations: 150.9 kB / 0.5666 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005973/0.3576, allocations: 3.895 MB / 0.5704 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02056/0.3782, allocations: 15.15 MB / 0.5852 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005694/0.3839, allocations: 5.949 MB / 0.591 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/0.386, allocations: 1.268 MB / 0.5923 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006554/0.3926, allocations: 4.122 MB / 0.5963 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3926, allocations: 43.56 kB / 0.5963 GB, free: 12.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=118): time 3.126e-06/0.3926, allocations: 0 / 0.5963 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01043/0.4031, allocations: 5.261 MB / 0.6015 GB, free: 7.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.4031, allocations: 72.08 kB / 0.6015 GB, free: 7.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.406, allocations: 2.145 MB / 0.6036 GB, free: 4.859 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.371e-05/0.4062, allocations: 49.7 kB / 0.6037 GB, free: 4.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.4073, allocations: 1.724 MB / 0.6054 GB, free: 3.066 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/0.4076, allocations: 0.5014 MB / 0.6059 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005814/0.4082, allocations: 415.7 kB / 0.6063 GB, free: 2.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.4083, allocations: 305.1 kB / 0.6065 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.4095, allocations: 0.7657 MB / 0.6073 GB, free: 1.086 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.4112, allocations: 1.536 MB / 0.6088 GB, free: 15.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/0.424, allocations: 4.739 MB / 0.6134 GB, free: 10.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.4241, allocations: 8 kB / 0.6134 GB, free: 10.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004422/0.4285, allocations: 2.789 MB / 0.6162 GB, free: 7.555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.4285, allocations: 16 kB / 0.6162 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.4286, allocations: 25.03 kB / 0.6162 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007325/0.4293, allocations: 274.1 kB / 0.6165 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.431, allocations: 499.2 kB / 0.6169 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003868/0.4349, allocations: 3.384 MB / 0.6202 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.4367, allocations: 95.86 kB / 0.6203 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.4369, allocations: 104 kB / 0.6204 GB, free: 3.098 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (261): * Single equations (assignments): 259 * 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001976/0.4389, allocations: 1.09 MB / 0.6215 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.4393, allocations: 229.2 kB / 0.6217 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.4424, allocations: 1.765 MB / 0.6234 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.4424, allocations: 7.969 kB / 0.6234 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4424, allocations: 4 kB / 0.6234 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009243/0.4434, allocations: 454.2 kB / 0.6239 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003843/0.4438, allocations: 28 kB / 0.6239 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.4448, allocations: 55.91 kB / 0.624 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.445, allocations: 101.1 kB / 0.6241 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003736/0.4488, allocations: 1.809 MB / 0.6258 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003486/0.4523, allocations: 2.56 MB / 0.6283 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009192/0.4532, allocations: 0.6623 MB / 0.629 GB, free: 10.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002151/0.4554, allocations: 1.443 MB / 0.6304 GB, free: 8.887 MB / 446.1 MB Notification: Performance of Backend: time 4.21e-07/0.4554, allocations: 8 kB / 0.6304 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003595/0.459, allocations: 1.822 MB / 0.6322 GB, free: 7.121 MB / 446.1 MB Notification: Performance of SimCode: time 0.01023/0.4692, allocations: 6.465 MB / 0.6385 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of Templates: time 0.05661/0.5258, allocations: 35.81 MB / 0.6734 GB, free: 13.14 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1)