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.00147/0.00147, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.283/2.283, allocations: 222.9 MB / 239.5 MB, free: 4.719 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.002322/0.002322, allocations: 196.4 kB / 289.8 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05327/0.05327, allocations: 8.796 MB / 348.7 MB, free: 4.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 84.17 kB / 411.1 MB, free: 42.56 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1674, allocations: 51.55 MB / 462.6 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.02843/0.1959, allocations: 15.74 MB / 478.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.212, allocations: 5.247 MB / 483.6 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004859/0.2169, allocations: 91.69 kB / 483.7 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006266/0.2232, allocations: 1.073 MB / 484.8 MB, free: 8.746 MB / 318.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.01035/0.2337, allocations: 1.373 MB / 486.1 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004971/0.2387, allocations: 0.9053 MB / 487 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01192/0.2506, allocations: 4.841 MB / 491.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007888/0.2586, allocations: 2.89 MB / 494.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005076/0.2637, allocations: 1.665 MB / 496.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006475/0.2702, allocations: 2.151 MB / 498.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002625/0.2729, allocations: 336 kB / 498.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004514/0.2775, allocations: 0.5427 MB / 499.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002722/0.2802, allocations: 0.9926 MB / 0.4887 GB, free: 8.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007695/0.2879, allocations: 2.123 MB / 0.4908 GB, free: 6.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.3009, allocations: 6.138 MB / 0.4968 GB, free: 0.6641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.3009, allocations: 0 / 0.4968 GB, free: 0.6641 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3009, allocations: 4 kB / 0.4968 GB, free: 0.6602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000287/0.3012, allocations: 0 / 0.4968 GB, free: 0.6602 MB / 334.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.02432/0.3256, allocations: 4.814 MB / 0.5015 GB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.584e-05/0.3257, allocations: 8.031 kB / 0.5015 GB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009967/0.3356, allocations: 0.9406 MB / 0.5024 GB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009901/0.3456, allocations: 2.566 MB / 0.5049 GB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004705/0.3461, allocations: 275.8 kB / 0.5052 GB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/0.3481, allocations: 372 kB / 0.5055 GB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/0.3677, allocations: 4.68 MB / 0.5101 GB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.3679, allocations: 8 kB / 0.5101 GB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008221/0.3688, allocations: 148 kB / 0.5103 GB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002538/0.3691, allocations: 159.3 kB / 0.5104 GB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.3839, allocations: 3.901 MB / 0.5142 GB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4317/0.8157, allocations: 15.57 MB / 0.5294 GB, free: 59.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008822/0.8246, allocations: 6.061 MB / 0.5353 GB, free: 55.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004319/0.829, allocations: 1.381 MB / 0.5367 GB, free: 55.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/0.8418, allocations: 4.225 MB / 0.5408 GB, free: 54.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.8419, allocations: 49.34 kB / 0.5409 GB, free: 54.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=133): time 6.382e-06/0.8419, allocations: 0 / 0.5409 GB, free: 54.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.01824/0.8601, allocations: 5.173 MB / 0.5459 GB, free: 52.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.8603, allocations: 69.56 kB / 0.546 GB, free: 52.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006455/0.8668, allocations: 2.013 MB / 0.548 GB, free: 52.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004858/0.8673, allocations: 47.27 kB / 0.548 GB, free: 52.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002236/0.8696, allocations: 1.658 MB / 0.5496 GB, free: 51.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000922/0.8705, allocations: 487.7 kB / 0.5501 GB, free: 51.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009315/0.8715, allocations: 361.8 kB / 0.5504 GB, free: 51.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.8716, allocations: 302.1 kB / 0.5507 GB, free: 50.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.8736, allocations: 0.6721 MB / 0.5514 GB, free: 50.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002593/0.8762, allocations: 1.379 MB / 0.5527 GB, free: 49.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004336/0.8805, allocations: 2.198 MB / 0.5549 GB, free: 47.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.329e-05/0.8806, allocations: 7.938 kB / 0.5549 GB, free: 47.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.006333/0.8869, allocations: 2.483 MB / 0.5573 GB, free: 46.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.887, allocations: 19.72 kB / 0.5573 GB, free: 46.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-05/0.8871, allocations: 28.16 kB / 0.5573 GB, free: 46.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/0.8877, allocations: 145.6 kB / 0.5575 GB, free: 46.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.8904, allocations: 464.1 kB / 0.5579 GB, free: 46.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.8927, allocations: 1.939 MB / 0.5598 GB, free: 45.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/0.8961, allocations: 82.23 kB / 0.5599 GB, free: 45.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/0.8965, allocations: 90.84 kB / 0.56 GB, free: 45.04 MB / 366.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.003986/0.9006, allocations: 1.067 MB / 0.561 GB, free: 44.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/0.9016, allocations: 215.4 kB / 0.5612 GB, free: 44.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005203/0.9068, allocations: 2.027 MB / 0.5632 GB, free: 43.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.9069, allocations: 12.92 kB / 0.5632 GB, free: 43.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.9069, allocations: 9.188 kB / 0.5632 GB, free: 43.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/0.9069, allocations: 7.922 kB / 0.5632 GB, free: 43.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/0.9201, allocations: 4.952 MB / 0.5681 GB, free: 39.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.9202, allocations: 3.062 kB / 0.5681 GB, free: 39.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.9216, allocations: 206.8 kB / 0.5683 GB, free: 39.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.9231, allocations: 333.3 kB / 0.5686 GB, free: 39.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.9233, allocations: 38.64 kB / 0.5686 GB, free: 39.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008469/0.9318, allocations: 6.512 MB / 0.575 GB, free: 33.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.9319, allocations: 4.031 kB / 0.575 GB, free: 33.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006536/0.9384, allocations: 2.901 MB / 0.5778 GB, free: 30.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/0.9403, allocations: 438.3 kB / 0.5782 GB, free: 30.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006187/0.9409, allocations: 35.98 kB / 0.5783 GB, free: 30.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.9427, allocations: 55.97 kB / 0.5783 GB, free: 30.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004327/0.9431, allocations: 102.2 kB / 0.5784 GB, free: 30.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.9433, allocations: 35.98 kB / 0.5785 GB, free: 29.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00318/0.9465, allocations: 1.366 MB / 0.5798 GB, free: 28.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.9465, allocations: 8 kB / 0.5798 GB, free: 28.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004194/0.9507, allocations: 0.6073 MB / 0.5804 GB, free: 27.98 MB / 366.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.0005562/0.9513, allocations: 166.6 kB / 0.5806 GB, free: 27.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004236/0.9556, allocations: 1.89 MB / 0.5824 GB, free: 25.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.9556, allocations: 0 / 0.5824 GB, free: 25.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002624/0.9582, allocations: 1.217 MB / 0.5836 GB, free: 24.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0047/0.963, allocations: 0.536 MB / 0.5841 GB, free: 24.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.98, allocations: 7.507 MB / 0.5914 GB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/0.9826, allocations: 2.343 MB / 0.5937 GB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.9837, allocations: 155.4 kB / 0.5939 GB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 1.413e-06/0.9838, allocations: 0 / 0.5939 GB, free: 14.07 MB / 366.1 MB Notification: Performance of Templates: time 0.1715/1.155, allocations: 84.78 MB / 0.6767 GB, free: 9.348 MB / 446.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)