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.001365/0.001365, allocations: 105.1 kB / 16.41 MB, free: 6.449 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.377/1.377, allocations: 222.9 MB / 240.1 MB, free: 4.352 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.001518/0.001518, allocations: 188.5 kB / 290.4 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03401/0.03402, allocations: 8.801 MB / 349.3 MB, free: 4.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 79.88 kB / 464.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1081, allocations: 51.57 MB / 0.5041 GB, free: 9.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01813/0.1263, allocations: 15.93 MB / 0.5197 GB, free: 9.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.1375, allocations: 5.294 MB / 0.5249 GB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00331/0.1408, allocations: 91.69 kB / 0.5249 GB, free: 3.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004214/0.145, allocations: 1.215 MB / 0.5261 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.006119/0.1512, allocations: 1.536 MB / 0.5276 GB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.1545, allocations: 0.9857 MB / 0.5286 GB, free: 192 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2413/0.3958, allocations: 4.58 MB / 0.5331 GB, free: 6.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005805/0.4017, allocations: 3.488 MB / 0.5365 GB, free: 5.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004716/0.4065, allocations: 2.067 MB / 0.5385 GB, free: 5.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005565/0.4121, allocations: 2.328 MB / 0.5408 GB, free: 4.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002028/0.4141, allocations: 0.5594 MB / 0.5413 GB, free: 4.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003853/0.418, allocations: 0.7729 MB / 0.5421 GB, free: 4.828 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00208/0.4201, allocations: 1.238 MB / 0.5433 GB, free: 4.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006811/0.4269, allocations: 2.373 MB / 0.5456 GB, free: 4.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.4396, allocations: 7.325 MB / 0.5527 GB, free: 3.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4396, allocations: 2.156 kB / 0.5527 GB, free: 3.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4396, allocations: 0 / 0.5527 GB, free: 3.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002522/0.4399, allocations: 0.9688 kB / 0.5527 GB, free: 3.207 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.01659/0.4565, allocations: 4.829 MB / 0.5575 GB, free: 264 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4566, allocations: 9.594 kB / 0.5575 GB, free: 264 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006026/0.4626, allocations: 0.9456 MB / 0.5584 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006873/0.4695, allocations: 2.742 MB / 0.5611 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.4698, allocations: 271.7 kB / 0.5613 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001287/0.4711, allocations: 372.7 kB / 0.5617 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.482, allocations: 4.683 MB / 0.5663 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-05/0.4822, allocations: 5.531 kB / 0.5663 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004111/0.4826, allocations: 152.1 kB / 0.5664 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.4827, allocations: 156.3 kB / 0.5666 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007533/0.4903, allocations: 3.905 MB / 0.5704 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02903/0.5193, allocations: 15.33 MB / 0.5853 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005638/0.525, allocations: 6.057 MB / 0.5913 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002245/0.5273, allocations: 1.39 MB / 0.5926 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007404/0.5347, allocations: 4.191 MB / 0.5967 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.5348, allocations: 43.88 kB / 0.5967 GB, free: 11.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.196e-06/0.5348, allocations: 0 / 0.5967 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01082/0.5456, allocations: 5.146 MB / 0.6018 GB, free: 6.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.5457, allocations: 64.72 kB / 0.6018 GB, free: 6.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003947/0.5497, allocations: 1.988 MB / 0.6038 GB, free: 4.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.5499, allocations: 49.7 kB / 0.6038 GB, free: 4.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.5512, allocations: 1.667 MB / 0.6055 GB, free: 2.781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005177/0.5517, allocations: 482.1 kB / 0.6059 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006277/0.5523, allocations: 359.1 kB / 0.6063 GB, free: 1.957 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.5524, allocations: 302.2 kB / 0.6065 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.5536, allocations: 0.6637 MB / 0.6072 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.5552, allocations: 1.381 MB / 0.6085 GB, free: 15.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/0.5581, allocations: 2.189 MB / 0.6107 GB, free: 12.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.366e-05/0.5582, allocations: 8 kB / 0.6107 GB, free: 12.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004216/0.5624, allocations: 2.488 MB / 0.6131 GB, free: 10.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.5624, allocations: 16.62 kB / 0.6131 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.076e-05/0.5625, allocations: 20 kB / 0.6132 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003945/0.5629, allocations: 145.5 kB / 0.6133 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.5645, allocations: 466.8 kB / 0.6137 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.5666, allocations: 2.111 MB / 0.6158 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.5684, allocations: 87.88 kB / 0.6159 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.5686, allocations: 92 kB / 0.616 GB, free: 7.496 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.002084/0.5707, allocations: 1.07 MB / 0.617 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005723/0.5713, allocations: 213.4 kB / 0.6172 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.575, allocations: 2.018 MB / 0.6192 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.5751, allocations: 12 kB / 0.6192 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/0.5751, allocations: 11.94 kB / 0.6192 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.5751, allocations: 11.53 kB / 0.6192 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009821/0.5849, allocations: 4.915 MB / 0.624 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.585, allocations: 0 / 0.624 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008978/0.5859, allocations: 209.8 kB / 0.6242 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008547/0.5868, allocations: 327.7 kB / 0.6245 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.5869, allocations: 39.92 kB / 0.6246 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006997/0.5939, allocations: 7.077 MB / 0.6315 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5939, allocations: 4.031 kB / 0.6315 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004935/0.5989, allocations: 2.891 MB / 0.6343 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.6002, allocations: 434.8 kB / 0.6347 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000592/0.6008, allocations: 35.98 kB / 0.6348 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.6021, allocations: 55.97 kB / 0.6348 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.6024, allocations: 101.1 kB / 0.6349 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/0.6025, allocations: 43.92 kB / 0.635 GB, free: 3.504 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002647/0.6051, allocations: 1.343 MB / 0.6363 GB, free: 2.141 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6051, allocations: 3.656 kB / 0.6363 GB, free: 2.141 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002905/0.608, allocations: 0.5977 MB / 0.6369 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.0004416/0.6085, allocations: 160.8 kB / 0.637 GB, free: 1.395 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003362/0.6119, allocations: 1.889 MB / 0.6388 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6119, allocations: 0 / 0.6388 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.6138, allocations: 1.218 MB / 0.64 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.6171, allocations: 0.5664 MB / 0.6406 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.6294, allocations: 5.942 MB / 0.6464 GB, free: 7.664 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/0.6322, allocations: 2.338 MB / 0.6487 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007363/0.6329, allocations: 159.4 kB / 0.6488 GB, free: 5.141 MB / 462.1 MB Notification: Performance of SimCode: time 1.312e-06/0.633, allocations: 0 / 0.6488 GB, free: 5.141 MB / 462.1 MB Notification: Performance of Templates: time 0.1081/0.7411, allocations: 85.05 MB / 0.7319 GB, free: 176 kB / 0.5294 GB 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)