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.0009105/0.0009106, allocations: 97.78 kB / 16.02 MB, free: 76 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.291/1.291, allocations: 223.3 MB / 240 MB, free: 5.371 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.0009691/0.0009692, allocations: 180.4 kB / 291.3 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03524/0.03524, allocations: 8.812 MB / 351.2 MB, free: 4.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 10.38 kB / 414.5 MB, free: 42.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06445/0.0648, allocations: 52.56 MB / 467 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01409/0.07892, allocations: 15.01 MB / 482 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00798/0.08692, allocations: 5.185 MB / 487.2 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.08872, allocations: 87.69 kB / 487.3 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.09104, allocations: 1.061 MB / 488.4 MB, free: 7.688 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.00298/0.09403, allocations: 1.379 MB / 489.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.09573, allocations: 0.8989 MB / 490.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004164/0.0999, allocations: 4.826 MB / 495.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.103, allocations: 2.863 MB / 498.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.1043, allocations: 1.451 MB / 499.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.1061, allocations: 1.866 MB / 0.4899 GB, free: 10.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003335/0.1065, allocations: 232 kB / 0.4901 GB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008506/0.1074, allocations: 459.7 kB / 0.4906 GB, free: 9.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006548/0.108, allocations: 0.8443 MB / 0.4914 GB, free: 8.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.1096, allocations: 1.96 MB / 0.4933 GB, free: 6.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.1139, allocations: 5.972 MB / 0.4991 GB, free: 0.8086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.114, allocations: 0 / 0.4991 GB, free: 0.8086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.114, allocations: 0 / 0.4991 GB, free: 0.8086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.313e-05/0.114, allocations: 3.938 kB / 0.4991 GB, free: 0.8047 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.008816/0.1228, allocations: 4.077 MB / 0.5031 GB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1229, allocations: 12.03 kB / 0.5031 GB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/0.1279, allocations: 0.9445 MB / 0.5041 GB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004027/0.1319, allocations: 2.57 MB / 0.5066 GB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.1321, allocations: 279.8 kB / 0.5068 GB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/0.1327, allocations: 368 kB / 0.5072 GB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007196/0.1399, allocations: 4.688 MB / 0.5118 GB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.537e-05/0.14, allocations: 7.984 kB / 0.5118 GB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003401/0.1403, allocations: 148 kB / 0.5119 GB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.1404, allocations: 155.3 kB / 0.5121 GB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006159/0.1466, allocations: 3.905 MB / 0.5159 GB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1678/0.3144, allocations: 15.65 MB / 0.5312 GB, free: 59.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/0.3191, allocations: 6.043 MB / 0.5371 GB, free: 54.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.3212, allocations: 1.38 MB / 0.5384 GB, free: 54.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006021/0.3272, allocations: 4.248 MB / 0.5426 GB, free: 53.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3273, allocations: 50.36 kB / 0.5426 GB, free: 53.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=133): time 2.875e-06/0.3273, allocations: 0 / 0.5426 GB, free: 53.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.009196/0.3365, allocations: 5.19 MB / 0.5477 GB, free: 52.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.3365, allocations: 70.14 kB / 0.5477 GB, free: 52.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.3393, allocations: 2.013 MB / 0.5497 GB, free: 51.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.214e-05/0.3394, allocations: 46.17 kB / 0.5497 GB, free: 51.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007952/0.3402, allocations: 1.672 MB / 0.5514 GB, free: 51.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.3405, allocations: 484.3 kB / 0.5518 GB, free: 50.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.3407, allocations: 162.8 kB / 0.552 GB, free: 50.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 2.975e-05/0.3407, allocations: 306.3 kB / 0.5523 GB, free: 50.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.3418, allocations: 0.6653 MB / 0.5529 GB, free: 50.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.343, allocations: 1.379 MB / 0.5543 GB, free: 49.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/0.3455, allocations: 2.198 MB / 0.5564 GB, free: 47.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.222e-05/0.3455, allocations: 10.33 kB / 0.5564 GB, free: 47.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.003283/0.3488, allocations: 2.491 MB / 0.5589 GB, free: 46.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3488, allocations: 11.81 kB / 0.5589 GB, free: 46.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.3489, allocations: 23.53 kB / 0.5589 GB, free: 46.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/0.3492, allocations: 147.8 kB / 0.559 GB, free: 46.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.3507, allocations: 459.7 kB / 0.5595 GB, free: 46.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.3521, allocations: 1.95 MB / 0.5614 GB, free: 44.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3535, allocations: 82.98 kB / 0.5615 GB, free: 44.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.3536, allocations: 96.39 kB / 0.5616 GB, free: 44.51 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.001321/0.355, allocations: 1.059 MB / 0.5626 GB, free: 43.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.3552, allocations: 223 kB / 0.5628 GB, free: 43.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/0.3581, allocations: 2.022 MB / 0.5648 GB, free: 42.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.3581, allocations: 14.38 kB / 0.5648 GB, free: 42.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3582, allocations: 3.75 kB / 0.5648 GB, free: 42.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.3582, allocations: 7.5 kB / 0.5648 GB, free: 42.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005946/0.3641, allocations: 4.96 MB / 0.5696 GB, free: 39.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3641, allocations: 0 / 0.5696 GB, free: 39.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/0.365, allocations: 208.9 kB / 0.5698 GB, free: 39.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000779/0.3658, allocations: 335.7 kB / 0.5702 GB, free: 39.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/0.3659, allocations: 39.14 kB / 0.5702 GB, free: 39.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004881/0.3707, allocations: 6.518 MB / 0.5766 GB, free: 33.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3708, allocations: 7.906 kB / 0.5766 GB, free: 33.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.3741, allocations: 2.905 MB / 0.5794 GB, free: 31.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.3747, allocations: 438.4 kB / 0.5798 GB, free: 30.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.3749, allocations: 39.92 kB / 0.5799 GB, free: 30.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/0.3759, allocations: 55.97 kB / 0.5799 GB, free: 30.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.3761, allocations: 101.1 kB / 0.58 GB, free: 30.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.951e-05/0.3761, allocations: 41.19 kB / 0.5801 GB, free: 30.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001482/0.3776, allocations: 1.362 MB / 0.5814 GB, free: 29.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3776, allocations: 0 / 0.5814 GB, free: 29.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001605/0.3793, allocations: 0.6016 MB / 0.582 GB, free: 28.69 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.0002328/0.3795, allocations: 159.4 kB / 0.5821 GB, free: 28.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0022/0.3817, allocations: 1.89 MB / 0.584 GB, free: 26.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3817, allocations: 0.9375 kB / 0.584 GB, free: 26.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.3831, allocations: 1.222 MB / 0.5852 GB, free: 25.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/0.3859, allocations: 0.5442 MB / 0.5857 GB, free: 24.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007986/0.3939, allocations: 7.635 MB / 0.5932 GB, free: 17.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.3955, allocations: 2.349 MB / 0.5955 GB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.3959, allocations: 159.4 kB / 0.5956 GB, free: 14.6 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3959, allocations: 0 / 0.5956 GB, free: 14.6 MB / 366.1 MB Notification: Performance of Templates: time 0.07794/0.4738, allocations: 84.24 MB / 0.6779 GB, free: 10.42 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)