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.001479/0.001479, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.383/1.383, allocations: 222.9 MB / 240.1 MB, free: 4.566 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.001412/0.001412, allocations: 203.3 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03556/0.03556, allocations: 8.799 MB / 349.3 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 75.88 kB / 464.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08332/0.08487, allocations: 51.56 MB / 0.5041 GB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01646/0.1014, allocations: 15.93 MB / 0.5197 GB, free: 9.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009104/0.1105, allocations: 5.305 MB / 0.5249 GB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.1126, allocations: 95.69 kB / 0.525 GB, free: 4.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.1158, allocations: 1.243 MB / 0.5262 GB, free: 2.789 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.004336/0.1202, allocations: 1.584 MB / 0.5277 GB, free: 1.199 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.1227, allocations: 0.9795 MB / 0.5287 GB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1828/0.3055, allocations: 4.585 MB / 0.5332 GB, free: 6.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003468/0.309, allocations: 3.491 MB / 0.5366 GB, free: 5.609 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.3114, allocations: 2.061 MB / 0.5386 GB, free: 5.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/0.3142, allocations: 2.331 MB / 0.5408 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008227/0.3151, allocations: 0.5652 MB / 0.5414 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.3166, allocations: 0.768 MB / 0.5422 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.3176, allocations: 1.239 MB / 0.5434 GB, free: 4.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002575/0.3202, allocations: 2.376 MB / 0.5457 GB, free: 4.191 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00662/0.3268, allocations: 7.315 MB / 0.5528 GB, free: 3.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3269, allocations: 3.938 kB / 0.5528 GB, free: 3.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3269, allocations: 0 / 0.5528 GB, free: 3.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001567/0.327, allocations: 1.562 kB / 0.5528 GB, free: 3.242 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.01157/0.3386, allocations: 4.828 MB / 0.5575 GB, free: 288 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3387, allocations: 12.34 kB / 0.5576 GB, free: 284 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00508/0.3437, allocations: 0.9425 MB / 0.5585 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005237/0.349, allocations: 2.746 MB / 0.5612 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.3492, allocations: 274 kB / 0.5614 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000528/0.3497, allocations: 366.1 kB / 0.5618 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007984/0.3577, allocations: 4.69 MB / 0.5663 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-05/0.3578, allocations: 2.031 kB / 0.5664 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003506/0.3582, allocations: 150 kB / 0.5665 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.3583, allocations: 156.8 kB / 0.5666 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006301/0.3646, allocations: 3.895 MB / 0.5704 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02378/0.3884, allocations: 15.33 MB / 0.5854 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005723/0.3942, allocations: 6.072 MB / 0.5914 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.3965, allocations: 1.382 MB / 0.5927 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007275/0.4038, allocations: 4.181 MB / 0.5968 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.4039, allocations: 51.88 kB / 0.5968 GB, free: 11.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.426e-06/0.4039, allocations: 0 / 0.5968 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.0104/0.4143, allocations: 5.132 MB / 0.6018 GB, free: 6.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.4143, allocations: 72.72 kB / 0.6019 GB, free: 6.598 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00345/0.4178, allocations: 1.988 MB / 0.6039 GB, free: 4.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.4179, allocations: 53.7 kB / 0.6039 GB, free: 4.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.4191, allocations: 1.657 MB / 0.6055 GB, free: 2.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.4195, allocations: 482 kB / 0.606 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005759/0.4201, allocations: 363.1 kB / 0.6063 GB, free: 2.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.4202, allocations: 305.1 kB / 0.6066 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.4213, allocations: 0.6598 MB / 0.6073 GB, free: 1.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.4228, allocations: 1.386 MB / 0.6086 GB, free: 15.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/0.4255, allocations: 2.185 MB / 0.6108 GB, free: 12.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.4256, allocations: 8 kB / 0.6108 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.003961/0.4295, allocations: 2.484 MB / 0.6132 GB, free: 10.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.4296, allocations: 16.56 kB / 0.6132 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.4296, allocations: 27.56 kB / 0.6132 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003737/0.43, allocations: 150.1 kB / 0.6134 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4316, allocations: 459 kB / 0.6138 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.4336, allocations: 2.123 MB / 0.6159 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.4352, allocations: 79.83 kB / 0.616 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.4354, allocations: 91.98 kB / 0.616 GB, free: 7.547 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.001839/0.4372, allocations: 1.069 MB / 0.6171 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004351/0.4377, allocations: 217.4 kB / 0.6173 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.4413, allocations: 2.012 MB / 0.6193 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.4413, allocations: 7.984 kB / 0.6193 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4413, allocations: 3.984 kB / 0.6193 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.4424, allocations: 434.3 kB / 0.6197 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004469/0.4428, allocations: 28 kB / 0.6197 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.4439, allocations: 47.97 kB / 0.6198 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.4441, allocations: 113.1 kB / 0.6199 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003706/0.4478, allocations: 1.824 MB / 0.6217 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003185/0.451, allocations: 2.311 MB / 0.6239 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008653/0.4519, allocations: 0.6232 MB / 0.6245 GB, free: 14.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002267/0.4542, allocations: 1.343 MB / 0.6258 GB, free: 13.47 MB / 446.1 MB Notification: Performance of Backend: time 4.3e-07/0.4542, allocations: 0 / 0.6258 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.4576, allocations: 1.571 MB / 0.6274 GB, free: 11.95 MB / 446.1 MB Notification: Performance of SimCode: time 0.01087/0.4685, allocations: 6.538 MB / 0.6337 GB, free: 5.359 MB / 446.1 MB Notification: Performance of Templates: time 0.05665/0.5252, allocations: 33.56 MB / 0.6665 GB, free: 4.191 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)