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.001328/0.001328, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.383/1.383, allocations: 177.1 MB / 199.4 MB, free: 8.438 MB / 190.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.001581/0.001581, allocations: 161.5 kB / 256 MB, free: 4.344 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.04046/0.04046, allocations: 6.659 MB / 319 MB, free: 5.406 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: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 446 MB, free: 25.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.682e-05, allocations: 8.25 kB / 446 MB, free: 25.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01306/0.01309, allocations: 14.45 MB / 460.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009302/0.02239, allocations: 5.31 MB / 465.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003104/0.02549, allocations: 123.3 kB / 465.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003542/0.02903, allocations: 1.219 MB / 467.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004988/0.03402, allocations: 1.599 MB / 468.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.03673, allocations: 1.013 MB / 469.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006836/0.04357, allocations: 4.869 MB / 474.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004341/0.04791, allocations: 1.917 MB / 476.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006285/0.0542, allocations: 3.115 MB / 479.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.05857, allocations: 1.94 MB / 481.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001653/0.06022, allocations: 0.5586 MB / 482.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.0628, allocations: 0.7769 MB / 482.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.06478, allocations: 1.277 MB / 484.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003929/0.06871, allocations: 1.618 MB / 485.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1851/0.2538, allocations: 7.414 MB / 493.2 MB, free: 27.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2538, allocations: 2.734 kB / 493.2 MB, free: 27.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2538, allocations: 0 / 493.2 MB, free: 27.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001647/0.254, allocations: 0 / 493.2 MB, free: 27.05 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.0125/0.2665, allocations: 4.838 MB / 498 MB, free: 25.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2665, allocations: 16.61 kB / 498 MB, free: 25.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005068/0.2716, allocations: 0.9401 MB / 499 MB, free: 25.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004848/0.2765, allocations: 2.682 MB / 0.4899 GB, free: 24.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.2766, allocations: 275.8 kB / 0.4902 GB, free: 24.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005732/0.2772, allocations: 364.1 kB / 0.4905 GB, free: 24.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007608/0.2848, allocations: 4.851 MB / 0.4952 GB, free: 22.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.211e-05/0.2849, allocations: 5.344 kB / 0.4952 GB, free: 22.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003556/0.2852, allocations: 152 kB / 0.4954 GB, free: 22.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.2854, allocations: 152 kB / 0.4955 GB, free: 22.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006389/0.2918, allocations: 3.898 MB / 0.4993 GB, free: 20.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/0.3109, allocations: 13.3 MB / 0.5123 GB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/0.315, allocations: 2.511 MB / 0.5148 GB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.3169, allocations: 1.284 MB / 0.516 GB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005876/0.3228, allocations: 3.332 MB / 0.5193 GB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3228, allocations: 51.88 kB / 0.5193 GB, free: 3.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=133): time 3.606e-06/0.3228, allocations: 0 / 0.5193 GB, free: 3.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01087/0.3337, allocations: 4.736 MB / 0.524 GB, free: 14.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.3337, allocations: 68.72 kB / 0.524 GB, free: 14.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00433/0.3381, allocations: 1.762 MB / 0.5258 GB, free: 12.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000184/0.3382, allocations: 53.7 kB / 0.5258 GB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002195/0.3404, allocations: 1.729 MB / 0.5275 GB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006852/0.3411, allocations: 0.4958 MB / 0.528 GB, free: 10.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008644/0.342, allocations: 363.4 kB / 0.5283 GB, free: 10.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.3422, allocations: 301.1 kB / 0.5286 GB, free: 9.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.344, allocations: 0.6598 MB / 0.5293 GB, free: 9.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002725/0.3468, allocations: 1.413 MB / 0.5306 GB, free: 7.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004926/0.3517, allocations: 2.193 MB / 0.5328 GB, free: 4.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.219e-05/0.3517, allocations: 8 kB / 0.5328 GB, free: 4.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.007443/0.3592, allocations: 2.393 MB / 0.5351 GB, free: 2.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.3592, allocations: 16 kB / 0.5351 GB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.114e-05/0.3593, allocations: 23.98 kB / 0.5352 GB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/0.3598, allocations: 146.2 kB / 0.5353 GB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.3625, allocations: 465.3 kB / 0.5357 GB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.3657, allocations: 1.979 MB / 0.5377 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/0.3684, allocations: 79.88 kB / 0.5378 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003916/0.3688, allocations: 95.98 kB / 0.5378 GB, free: 15.82 MB / 382.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.00349/0.3723, allocations: 1.062 MB / 0.5389 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000816/0.3731, allocations: 206.7 kB / 0.5391 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00586/0.3789, allocations: 1.83 MB / 0.5409 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.379, allocations: 15.94 kB / 0.5409 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/0.379, allocations: 4 kB / 0.5409 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.379, allocations: 11.97 kB / 0.5409 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.3916, allocations: 4.016 MB / 0.5448 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.3916, allocations: 0 / 0.5448 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.393, allocations: 210.9 kB / 0.545 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.3944, allocations: 329.6 kB / 0.5453 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/0.3945, allocations: 38.83 kB / 0.5454 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008652/0.4032, allocations: 6.631 MB / 0.5518 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4032, allocations: 0 / 0.5518 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/0.4084, allocations: 2.717 MB / 0.5545 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.4094, allocations: 339 kB / 0.5548 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005195/0.41, allocations: 32 kB / 0.5549 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.4111, allocations: 59.95 kB / 0.5549 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/0.4114, allocations: 112.2 kB / 0.555 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.4115, allocations: 39.94 kB / 0.5551 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00235/0.4139, allocations: 1.158 MB / 0.5562 GB, free: 12.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4139, allocations: 0 / 0.5562 GB, free: 12.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002619/0.4165, allocations: 0.6015 MB / 0.5568 GB, free: 12.18 MB / 398.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.0004014/0.4169, allocations: 162 kB / 0.5569 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.4203, allocations: 1.742 MB / 0.5586 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.4203, allocations: 0 / 0.5586 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.4224, allocations: 1.172 MB / 0.5598 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/0.4254, allocations: 477.7 kB / 0.5602 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.4392, allocations: 5.905 MB / 0.566 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003188/0.4424, allocations: 1.857 MB / 0.5678 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001691/0.4441, allocations: 441 kB / 0.5682 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/0.4446, allocations: 136.5 kB / 0.5684 GB, free: 288 kB / 398.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4446, allocations: 0 / 0.5684 GB, free: 288 kB / 398.1 MB Notification: Performance of Templates: time 0.05551/0.5001, allocations: 26.12 MB / 0.5939 GB, free: 6.652 MB / 430.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: 5.526604041457176] Failed to read output from testmodel.py, exit status != 0: 0.5095648989081383 0.526472094 0.269118681 Calling exit ...