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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 253.4 MB, free: 14.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 219.3 kB / 310 MB, free: 3.066 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04158/0.04158, allocations: 8.92 MB / 375.3 MB, free: 6.594 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 79.88 kB / 0.4904 GB, free: 44.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.09056, allocations: 55.61 MB / 0.5447 GB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01972/0.1103, allocations: 14.44 MB / 0.5588 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.1228, allocations: 5.29 MB / 0.564 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/0.126, allocations: 123.3 kB / 0.5641 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2411/0.3672, allocations: 1.204 MB / 0.5653 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005763/0.3729, allocations: 1.541 MB / 0.5668 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003104/0.376, allocations: 1.015 MB / 0.5678 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006179/0.3822, allocations: 4.644 MB / 0.5723 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003541/0.3857, allocations: 1.908 MB / 0.5742 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/0.3898, allocations: 2.125 MB / 0.5762 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005137/0.3949, allocations: 2.307 MB / 0.5785 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001796/0.3967, allocations: 0.5577 MB / 0.579 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.4, allocations: 0.7755 MB / 0.5798 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00197/0.402, allocations: 1.247 MB / 0.581 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005056/0.407, allocations: 1.896 MB / 0.5829 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.4175, allocations: 7.4 MB / 0.5901 GB, free: 3.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.4175, allocations: 4 kB / 0.5901 GB, free: 3.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4175, allocations: 0 / 0.5901 GB, free: 3.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000255/0.4177, allocations: 1.344 kB / 0.5901 GB, free: 3.812 MB / 382.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.01596/0.4337, allocations: 4.882 MB / 0.5949 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4337, allocations: 13.61 kB / 0.5949 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005877/0.4396, allocations: 0.9381 MB / 0.5958 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007466/0.4471, allocations: 2.685 MB / 0.5984 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.4474, allocations: 276.7 kB / 0.5987 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/0.4487, allocations: 367.5 kB / 0.599 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.4601, allocations: 4.843 MB / 0.6038 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.536e-05/0.4602, allocations: 6.703 kB / 0.6038 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004208/0.4606, allocations: 150.3 kB / 0.6039 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.4608, allocations: 159.2 kB / 0.6041 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008214/0.469, allocations: 3.899 MB / 0.6079 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02826/0.4973, allocations: 13.3 MB / 0.6209 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004984/0.5022, allocations: 2.509 MB / 0.6233 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/0.5047, allocations: 1.288 MB / 0.6246 GB, free: 8.414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008068/0.5127, allocations: 3.32 MB / 0.6278 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.5128, allocations: 55.8 kB / 0.6279 GB, free: 5.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.847e-06/0.5128, allocations: 0 / 0.6279 GB, free: 5.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01125/0.524, allocations: 4.727 MB / 0.6325 GB, free: 284 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.5241, allocations: 64.72 kB / 0.6325 GB, free: 208 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/0.5272, allocations: 1.778 MB / 0.6343 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.5274, allocations: 45.7 kB / 0.6343 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.5288, allocations: 1.74 MB / 0.636 GB, free: 12.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005504/0.5294, allocations: 499.7 kB / 0.6365 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006773/0.5301, allocations: 363.4 kB / 0.6368 GB, free: 11.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5303, allocations: 305.1 kB / 0.6371 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.5315, allocations: 0.6676 MB / 0.6378 GB, free: 10.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.5335, allocations: 1.401 MB / 0.6392 GB, free: 9.086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/0.5366, allocations: 2.196 MB / 0.6413 GB, free: 6.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.5366, allocations: 7.938 kB / 0.6413 GB, free: 6.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004341/0.541, allocations: 2.404 MB / 0.6437 GB, free: 4.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.541, allocations: 16 kB / 0.6437 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/0.541, allocations: 27.94 kB / 0.6437 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.5414, allocations: 146 kB / 0.6438 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.5431, allocations: 463.3 kB / 0.6443 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.5453, allocations: 1.981 MB / 0.6462 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.5471, allocations: 79.94 kB / 0.6463 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.5472, allocations: 92.17 kB / 0.6464 GB, free: 1.25 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.002144/0.5494, allocations: 1.063 MB / 0.6474 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/0.5498, allocations: 218.6 kB / 0.6476 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003566/0.5534, allocations: 1.821 MB / 0.6494 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.5534, allocations: 16 kB / 0.6494 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.5534, allocations: 4 kB / 0.6494 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.5535, allocations: 3.984 kB / 0.6494 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008526/0.562, allocations: 4.017 MB / 0.6534 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.562, allocations: 4 kB / 0.6534 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009074/0.5629, allocations: 208 kB / 0.6536 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008912/0.5638, allocations: 331.3 kB / 0.6539 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.355e-05/0.5639, allocations: 31.98 kB / 0.6539 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007582/0.5715, allocations: 6.637 MB / 0.6604 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.5715, allocations: 8.031 kB / 0.6604 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005065/0.5765, allocations: 2.723 MB / 0.663 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.5778, allocations: 330.7 kB / 0.6634 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/0.5781, allocations: 39.92 kB / 0.6634 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/0.579, allocations: 59.97 kB / 0.6635 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/0.5793, allocations: 105 kB / 0.6636 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/0.5794, allocations: 39.98 kB / 0.6636 GB, free: 15.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001952/0.5813, allocations: 1.154 MB / 0.6647 GB, free: 14.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5813, allocations: 0 / 0.6647 GB, free: 14.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002565/0.5839, allocations: 0.5977 MB / 0.6653 GB, free: 13.45 MB / 462.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.0004055/0.5843, allocations: 171.3 kB / 0.6655 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003269/0.5876, allocations: 1.746 MB / 0.6672 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.5876, allocations: 0 / 0.6672 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.5896, allocations: 1.171 MB / 0.6683 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.5923, allocations: 488.5 kB / 0.6688 GB, free: 9.832 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.6044, allocations: 6.029 MB / 0.6747 GB, free: 3.742 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/0.6067, allocations: 1.805 MB / 0.6764 GB, free: 1.898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/0.6074, allocations: 155.4 kB / 0.6766 GB, free: 1.75 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6074, allocations: 0 / 0.6766 GB, free: 1.75 MB / 462.1 MB Notification: Performance of Templates: time 0.1128/0.7202, allocations: 85.58 MB / 0.7602 GB, free: 12.23 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.219899049960077] Failed to read output from testmodel.py, exit status != 0: 0.729445565957576 0.930560083 0.324572491 Calling exit ...