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.0009927/0.0009928, allocations: 110.7 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.35/1.35, allocations: 222.9 MB / 240.1 MB, free: 4.375 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.001298/0.001298, allocations: 192.4 kB / 290.4 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03703/0.03703, allocations: 8.806 MB / 349.3 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 75.89 kB / 464.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.08478, allocations: 51.58 MB / 0.5041 GB, free: 9.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01609/0.1009, allocations: 15.92 MB / 0.5197 GB, free: 9.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008437/0.1094, allocations: 5.301 MB / 0.5249 GB, free: 4.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.1106, allocations: 95.69 kB / 0.525 GB, free: 3.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002336/0.1129, allocations: 1.211 MB / 0.5261 GB, free: 2.734 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.002909/0.1159, allocations: 1.53 MB / 0.5276 GB, free: 1.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.1177, allocations: 0.9776 MB / 0.5286 GB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1769/0.2946, allocations: 4.588 MB / 0.5331 GB, free: 6.199 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003783/0.2984, allocations: 3.493 MB / 0.5365 GB, free: 5.613 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.3011, allocations: 2.059 MB / 0.5385 GB, free: 5.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/0.3041, allocations: 2.337 MB / 0.5408 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000902/0.305, allocations: 0.5607 MB / 0.5413 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.3067, allocations: 0.7703 MB / 0.5421 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.3078, allocations: 1.236 MB / 0.5433 GB, free: 4.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002915/0.3108, allocations: 2.374 MB / 0.5456 GB, free: 4.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007047/0.3178, allocations: 7.321 MB / 0.5527 GB, free: 3.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3179, allocations: 3.469 kB / 0.5528 GB, free: 3.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3179, allocations: 0 / 0.5528 GB, free: 3.258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001544/0.318, allocations: 0 / 0.5528 GB, free: 3.258 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.01253/0.3306, allocations: 4.832 MB / 0.5575 GB, free: 308 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3306, allocations: 10.97 kB / 0.5575 GB, free: 308 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.336, allocations: 0.9351 MB / 0.5584 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005519/0.3415, allocations: 2.75 MB / 0.5611 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.3417, allocations: 280 kB / 0.5613 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006062/0.3423, allocations: 367.8 kB / 0.5617 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00794/0.3503, allocations: 4.682 MB / 0.5663 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.806e-05/0.3504, allocations: 3.125 kB / 0.5663 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/0.3507, allocations: 154.4 kB / 0.5664 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3508, allocations: 151.2 kB / 0.5666 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006066/0.3569, allocations: 3.899 MB / 0.5704 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/0.3773, allocations: 15.33 MB / 0.5853 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005619/0.383, allocations: 6.063 MB / 0.5913 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/0.3852, allocations: 1.377 MB / 0.5926 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006323/0.3916, allocations: 4.204 MB / 0.5967 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3916, allocations: 43.88 kB / 0.5968 GB, free: 11.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.196e-06/0.3916, allocations: 0 / 0.5968 GB, free: 11.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.009067/0.4007, allocations: 5.142 MB / 0.6018 GB, free: 6.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.4007, allocations: 68.19 kB / 0.6018 GB, free: 6.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.4033, allocations: 1.992 MB / 0.6038 GB, free: 4.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-05/0.4034, allocations: 49.7 kB / 0.6038 GB, free: 4.492 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009934/0.4044, allocations: 1.658 MB / 0.6055 GB, free: 2.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/0.4048, allocations: 483.5 kB / 0.6059 GB, free: 2.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004942/0.4053, allocations: 363.1 kB / 0.6063 GB, free: 1.992 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.4054, allocations: 301.1 kB / 0.6066 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.4064, allocations: 0.6676 MB / 0.6072 GB, free: 1.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.4079, allocations: 1.382 MB / 0.6086 GB, free: 15.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/0.4105, allocations: 2.182 MB / 0.6107 GB, free: 12.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.4105, allocations: 4.75 kB / 0.6107 GB, free: 12.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.003605/0.4141, allocations: 2.494 MB / 0.6131 GB, free: 10.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.4141, allocations: 12 kB / 0.6131 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.4142, allocations: 24 kB / 0.6132 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.4145, allocations: 153.6 kB / 0.6133 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.4161, allocations: 456.2 kB / 0.6137 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.418, allocations: 2.118 MB / 0.6158 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.4194, allocations: 83.83 kB / 0.6159 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.4196, allocations: 95.98 kB / 0.616 GB, free: 7.527 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.001615/0.4212, allocations: 1.067 MB / 0.617 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.4215, allocations: 213.4 kB / 0.6172 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.4247, allocations: 2.01 MB / 0.6192 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.4248, allocations: 11.92 kB / 0.6192 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4248, allocations: 4 kB / 0.6192 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006429/0.4254, allocations: 434.3 kB / 0.6196 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/0.4257, allocations: 28 kB / 0.6196 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000925/0.4266, allocations: 51.97 kB / 0.6197 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.4268, allocations: 105.1 kB / 0.6198 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00367/0.4305, allocations: 1.826 MB / 0.6216 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003038/0.4336, allocations: 2.312 MB / 0.6238 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008343/0.4344, allocations: 0.6232 MB / 0.6244 GB, free: 14.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001805/0.4362, allocations: 1.335 MB / 0.6257 GB, free: 13.46 MB / 446.1 MB Notification: Performance of Backend: time 2.81e-07/0.4362, allocations: 3.469 kB / 0.6257 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002929/0.4392, allocations: 1.58 MB / 0.6273 GB, free: 11.93 MB / 446.1 MB Notification: Performance of SimCode: time 0.009499/0.4487, allocations: 6.54 MB / 0.6337 GB, free: 5.34 MB / 446.1 MB Notification: Performance of Templates: time 0.0522/0.5009, allocations: 33.55 MB / 0.6664 GB, free: 4.18 MB / 478.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)