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.001135/0.001135, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 239.2 MB, free: 4.625 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.001329/0.001329, allocations: 191.7 kB / 289.6 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03549/0.03549, allocations: 8.798 MB / 348.5 MB, free: 4.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 86.45 kB / 411.1 MB, free: 42.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07871/0.08027, allocations: 51.56 MB / 462.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.0167/0.09701, allocations: 15.92 MB / 478.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00983/0.1069, allocations: 5.305 MB / 483.9 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.1091, allocations: 99.56 kB / 484 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.1121, allocations: 1.211 MB / 485.2 MB, free: 7.723 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.004206/0.1164, allocations: 1.531 MB / 486.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.1186, allocations: 0.9745 MB / 487.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004924/0.1235, allocations: 4.578 MB / 492.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003686/0.1272, allocations: 3.489 MB / 495.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.1296, allocations: 2.048 MB / 497.8 MB, free: 11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.1319, allocations: 2.323 MB / 0.4884 GB, free: 8.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006663/0.1326, allocations: 0.5586 MB / 0.4889 GB, free: 8.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.1339, allocations: 0.7849 MB / 0.4897 GB, free: 7.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009068/0.1348, allocations: 1.231 MB / 0.4909 GB, free: 6.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002117/0.1369, allocations: 2.388 MB / 0.4932 GB, free: 3.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005586/0.1425, allocations: 7.256 MB / 0.5003 GB, free: 12.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1426, allocations: 0 / 0.5003 GB, free: 12.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1426, allocations: 0 / 0.5003 GB, free: 12.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.939e-05/0.1426, allocations: 0 / 0.5003 GB, free: 12.42 MB / 350.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.01017/0.1528, allocations: 4.826 MB / 0.505 GB, free: 7.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1529, allocations: 11.97 kB / 0.5051 GB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004949/0.1578, allocations: 0.9445 MB / 0.506 GB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005831/0.1637, allocations: 2.659 MB / 0.5086 GB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.164, allocations: 279.8 kB / 0.5088 GB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008971/0.1649, allocations: 376 kB / 0.5092 GB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009356/0.1742, allocations: 4.68 MB / 0.5138 GB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.629e-05/0.1743, allocations: 11.91 kB / 0.5138 GB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/0.1747, allocations: 148 kB / 0.5139 GB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.1749, allocations: 159.3 kB / 0.5141 GB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006574/0.1814, allocations: 3.894 MB / 0.5179 GB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1722/0.3537, allocations: 15.52 MB / 0.533 GB, free: 57.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004541/0.3583, allocations: 6.045 MB / 0.5389 GB, free: 53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.3604, allocations: 1.38 MB / 0.5403 GB, free: 52.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005917/0.3663, allocations: 4.217 MB / 0.5444 GB, free: 51.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3663, allocations: 49.31 kB / 0.5444 GB, free: 51.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=133): time 2.655e-06/0.3663, allocations: 0 / 0.5444 GB, free: 51.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.00852/0.3749, allocations: 5.156 MB / 0.5495 GB, free: 50.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.3749, allocations: 66.09 kB / 0.5495 GB, free: 50.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/0.3776, allocations: 1.99 MB / 0.5515 GB, free: 49.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.3777, allocations: 53.89 kB / 0.5515 GB, free: 49.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007768/0.3785, allocations: 1.661 MB / 0.5532 GB, free: 48.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.3788, allocations: 483.2 kB / 0.5536 GB, free: 47.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004448/0.3792, allocations: 364.3 kB / 0.554 GB, free: 47.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.573e-05/0.3792, allocations: 305.6 kB / 0.5543 GB, free: 47.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.3804, allocations: 0.6632 MB / 0.5549 GB, free: 47.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.3814, allocations: 1.376 MB / 0.5562 GB, free: 45.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.3835, allocations: 2.19 MB / 0.5584 GB, free: 44.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.3835, allocations: 7.906 kB / 0.5584 GB, free: 44.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.003267/0.3868, allocations: 2.484 MB / 0.5608 GB, free: 43.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.3869, allocations: 15.75 kB / 0.5608 GB, free: 43.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.3869, allocations: 24.12 kB / 0.5609 GB, free: 43.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.3872, allocations: 143.8 kB / 0.561 GB, free: 43.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.3887, allocations: 463.4 kB / 0.5614 GB, free: 42.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.3902, allocations: 2.116 MB / 0.5635 GB, free: 40.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.3918, allocations: 94.09 kB / 0.5636 GB, free: 40.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.3919, allocations: 89.38 kB / 0.5637 GB, free: 40.92 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.001427/0.3933, allocations: 1.068 MB / 0.5647 GB, free: 40.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.3936, allocations: 218.7 kB / 0.5649 GB, free: 40.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.3963, allocations: 2.01 MB / 0.5669 GB, free: 38.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3963, allocations: 11.72 kB / 0.5669 GB, free: 38.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3963, allocations: 8.75 kB / 0.5669 GB, free: 38.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3964, allocations: 7.969 kB / 0.5669 GB, free: 38.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005968/0.4023, allocations: 4.925 MB / 0.5717 GB, free: 35.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.4024, allocations: 3.812 kB / 0.5717 GB, free: 35.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007845/0.4031, allocations: 201 kB / 0.5719 GB, free: 35.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006935/0.4039, allocations: 330.1 kB / 0.5722 GB, free: 35.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/0.4039, allocations: 37.31 kB / 0.5723 GB, free: 35.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004763/0.4087, allocations: 7.091 MB / 0.5792 GB, free: 28.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4087, allocations: 4.062 kB / 0.5792 GB, free: 28.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.4121, allocations: 2.892 MB / 0.582 GB, free: 25.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006497/0.4128, allocations: 438.3 kB / 0.5824 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.4131, allocations: 32 kB / 0.5825 GB, free: 25.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008525/0.4139, allocations: 51.97 kB / 0.5825 GB, free: 25.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.4141, allocations: 105.1 kB / 0.5826 GB, free: 25.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.4142, allocations: 39.98 kB / 0.5827 GB, free: 25.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001479/0.4157, allocations: 1.343 MB / 0.584 GB, free: 23.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4157, allocations: 0 / 0.584 GB, free: 23.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00177/0.4174, allocations: 0.5953 MB / 0.5846 GB, free: 23.21 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.0002279/0.4177, allocations: 165.2 kB / 0.5847 GB, free: 23.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003396/0.4211, allocations: 2.26 MB / 0.5869 GB, free: 20.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4211, allocations: 4 kB / 0.5869 GB, free: 20.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.4224, allocations: 1.211 MB / 0.5881 GB, free: 19.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.4245, allocations: 0.5725 MB / 0.5887 GB, free: 18.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007307/0.4318, allocations: 6.052 MB / 0.5946 GB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.4332, allocations: 2.394 MB / 0.5969 GB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001404/0.4346, allocations: 470.7 kB / 0.5974 GB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.4349, allocations: 143.4 kB / 0.5975 GB, free: 9.844 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4349, allocations: 3.938 kB / 0.5975 GB, free: 9.84 MB / 366.1 MB Notification: Performance of Templates: time 0.04591/0.4809, allocations: 28.99 MB / 0.6258 GB, free: 13.17 MB / 398.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)