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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 246.2 MB, free: 13.59 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 192.7 kB / 301.4 MB, free: 9.09 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04091/0.04091, allocations: 8.932 MB / 365.5 MB, free: 9.219 MB / 302.1 MB " [Timeout remaining time 180] 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=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: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 92.95 kB / 489.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1146, allocations: 54.41 MB / 0.5311 GB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.02119/0.1358, allocations: 16.06 MB / 0.5468 GB, free: 14.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.1478, allocations: 5.329 MB / 0.552 GB, free: 9.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.1511, allocations: 91.69 kB / 0.5521 GB, free: 9.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005388/0.1564, allocations: 1.254 MB / 0.5533 GB, free: 7.789 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.006903/0.1633, allocations: 1.571 MB / 0.5548 GB, free: 6.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.1669, allocations: 0.9996 MB / 0.5558 GB, free: 5.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007737/0.1747, allocations: 4.596 MB / 0.5603 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004568/0.1793, allocations: 1.986 MB / 0.5622 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/0.1834, allocations: 2.068 MB / 0.5642 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004643/0.1881, allocations: 2.358 MB / 0.5666 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001851/0.1899, allocations: 0.5586 MB / 0.5671 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003201/0.1931, allocations: 0.7732 MB / 0.5679 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002373/0.1955, allocations: 1.246 MB / 0.5691 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005076/0.2006, allocations: 2.377 MB / 0.5714 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.2133, allocations: 7.338 MB / 0.5786 GB, free: 13.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2133, allocations: 3.938 kB / 0.5786 GB, free: 13.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2133, allocations: 4 kB / 0.5786 GB, free: 13.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000242/0.2136, allocations: 0 / 0.5786 GB, free: 13.76 MB / 398.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.01677/0.2304, allocations: 4.938 MB / 0.5834 GB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.2304, allocations: 8.031 kB / 0.5834 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006487/0.2369, allocations: 0.9624 MB / 0.5843 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007465/0.2444, allocations: 2.75 MB / 0.587 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003693/0.2447, allocations: 275.8 kB / 0.5873 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001249/0.246, allocations: 376.1 kB / 0.5876 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009625/0.2556, allocations: 4.688 MB / 0.5922 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.08e-05/0.2557, allocations: 7.891 kB / 0.5922 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003529/0.256, allocations: 148 kB / 0.5924 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.2562, allocations: 155.3 kB / 0.5925 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00762/0.2638, allocations: 3.901 MB / 0.5963 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/0.2921, allocations: 15.38 MB / 0.6113 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006832/0.299, allocations: 5.907 MB / 0.6171 GB, free: 4.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/0.3016, allocations: 1.269 MB / 0.6184 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00823/0.3099, allocations: 4.199 MB / 0.6225 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.054e-05/0.3099, allocations: 47.88 kB / 0.6225 GB, free: 15.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=133): time 3.717e-06/0.3099, allocations: 0 / 0.6225 GB, free: 15.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=137): time 0.01071/0.3207, allocations: 5.182 MB / 0.6276 GB, free: 9.844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.3207, allocations: 64.72 kB / 0.6276 GB, free: 9.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003181/0.3239, allocations: 1.992 MB / 0.6296 GB, free: 7.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.324, allocations: 49.7 kB / 0.6296 GB, free: 7.684 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.3254, allocations: 1.704 MB / 0.6313 GB, free: 5.961 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/0.3259, allocations: 0.4997 MB / 0.6318 GB, free: 5.457 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005746/0.3265, allocations: 367.4 kB / 0.6321 GB, free: 5.094 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3266, allocations: 301.1 kB / 0.6324 GB, free: 4.797 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.3278, allocations: 0.6637 MB / 0.6331 GB, free: 4.133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.3295, allocations: 1.38 MB / 0.6344 GB, free: 2.422 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/0.3326, allocations: 2.195 MB / 0.6365 GB, free: 15.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.3326, allocations: 4 kB / 0.6365 GB, free: 15.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004361/0.337, allocations: 2.488 MB / 0.639 GB, free: 13.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.337, allocations: 20.09 kB / 0.639 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/0.337, allocations: 27.98 kB / 0.639 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/0.3374, allocations: 141.6 kB / 0.6392 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.3391, allocations: 459.3 kB / 0.6396 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.3414, allocations: 2.13 MB / 0.6417 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.343, allocations: 79.94 kB / 0.6418 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.3432, allocations: 96.05 kB / 0.6418 GB, free: 10.3 MB / 462.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.002134/0.3453, allocations: 1.067 MB / 0.6429 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005292/0.3459, allocations: 226.6 kB / 0.6431 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003704/0.3496, allocations: 2 MB / 0.6451 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.3496, allocations: 12 kB / 0.6451 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/0.3496, allocations: 8 kB / 0.6451 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.3496, allocations: 3.984 kB / 0.6451 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008584/0.3582, allocations: 4.905 MB / 0.6499 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.3582, allocations: 4 kB / 0.6499 GB, free: 1.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009102/0.3591, allocations: 203.7 kB / 0.6501 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000886/0.36, allocations: 336.6 kB / 0.6504 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.56e-05/0.3601, allocations: 31.98 kB / 0.6504 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2551/0.6152, allocations: 7.085 MB / 0.6573 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.6152, allocations: 3.562 kB / 0.6573 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007733/0.623, allocations: 2.893 MB / 0.6602 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/0.6245, allocations: 440.5 kB / 0.6606 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004603/0.625, allocations: 34.25 kB / 0.6606 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/0.6267, allocations: 60.05 kB / 0.6607 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004845/0.6272, allocations: 105.2 kB / 0.6608 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.6273, allocations: 38.5 kB / 0.6608 GB, free: 100.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003373/0.6307, allocations: 1.343 MB / 0.6621 GB, free: 99.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6307, allocations: 0 / 0.6621 GB, free: 99.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004659/0.6354, allocations: 0.5961 MB / 0.6627 GB, free: 99.66 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.0006469/0.636, allocations: 163.7 kB / 0.6629 GB, free: 99.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005391/0.6414, allocations: 1.815 MB / 0.6646 GB, free: 98.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.6414, allocations: 0 / 0.6646 GB, free: 98.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003025/0.6444, allocations: 1.162 MB / 0.6658 GB, free: 98.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/0.6496, allocations: 0.571 MB / 0.6663 GB, free: 97.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/0.6684, allocations: 6.106 MB / 0.6723 GB, free: 94.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003579/0.672, allocations: 2.399 MB / 0.6746 GB, free: 93.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002972/0.675, allocations: 467.2 kB / 0.6751 GB, free: 93.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007437/0.6757, allocations: 144.1 kB / 0.6752 GB, free: 93.75 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6757, allocations: 3.719 kB / 0.6752 GB, free: 93.75 MB / 462.1 MB Notification: Performance of Templates: time 0.07992/0.7556, allocations: 30.45 MB / 0.705 GB, free: 66.89 MB / 462.1 MB " [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: 6.126807496882975]