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.001098/0.001098, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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 0.9707/0.9707, allocations: 177.2 MB / 200 MB, free: 5.828 MB / 186.7 MB " [Timeout remaining time 179] 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.001835/0.001835, allocations: 164.5 kB / 256.6 MB, free: 13.14 MB / 250.7 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.02793/0.02793, allocations: 6.662 MB / 319.8 MB, free: 11.61 MB / 298.7 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.583e-06/1.583e-06, allocations: 0 / 391.7 MB, free: 3.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.183e-05, allocations: 2.312 kB / 391.7 MB, free: 3.562 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01372/0.01374, allocations: 16.24 MB / 408 MB, free: 3.254 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008828/0.02257, allocations: 5.501 MB / 413.5 MB, free: 13.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.02563, allocations: 119.3 kB / 413.6 MB, free: 13.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003477/0.02911, allocations: 1.223 MB / 414.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004893/0.034, allocations: 1.603 MB / 416.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.0361, allocations: 1.032 MB / 417.4 MB, free: 9.742 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00552/0.04162, allocations: 4.874 MB / 422.3 MB, free: 4.848 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003296/0.04491, allocations: 1.92 MB / 424.2 MB, free: 2.863 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/0.04906, allocations: 3.139 MB / 427.4 MB, free: 15.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00331/0.05237, allocations: 2.139 MB / 429.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009883/0.05336, allocations: 0.5547 MB / 430.1 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.05485, allocations: 0.7769 MB / 430.8 MB, free: 12.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009171/0.05577, allocations: 1.289 MB / 432.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.0576, allocations: 1.645 MB / 433.8 MB, free: 9.301 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004837/0.06244, allocations: 3.816 MB / 437.6 MB, free: 5.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.06244, allocations: 4 kB / 437.6 MB, free: 5.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.06245, allocations: 0 / 437.6 MB, free: 5.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.066e-05/0.06253, allocations: 0 / 437.6 MB, free: 5.469 MB / 410.7 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.008458/0.07098, allocations: 5.119 MB / 442.7 MB, free: 288 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.07103, allocations: 8.031 kB / 442.7 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1271/0.1981, allocations: 1.406 MB / 444.1 MB, free: 136.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/0.2021, allocations: 2.624 MB / 446.8 MB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.2023, allocations: 277.5 kB / 447 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004686/0.2028, allocations: 371.6 kB / 447.4 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005223/0.208, allocations: 2.935 MB / 450.3 MB, free: 135.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.572e-05/0.2081, allocations: 7.344 kB / 450.3 MB, free: 135.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/0.2084, allocations: 154.5 kB / 450.5 MB, free: 135.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/0.2086, allocations: 154 kB / 450.6 MB, free: 135.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/0.2131, allocations: 1.399 MB / 452 MB, free: 135.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.2298, allocations: 12.81 MB / 464.8 MB, free: 129.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.2321, allocations: 1.963 MB / 466.8 MB, free: 128.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001/0.2331, allocations: 0.8043 MB / 467.6 MB, free: 128.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003373/0.2365, allocations: 2.712 MB / 470.3 MB, free: 127.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.2365, allocations: 49.73 kB / 470.4 MB, free: 127.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=133): time 3.035e-06/0.2365, allocations: 3.688 kB / 470.4 MB, free: 127.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.00455/0.241, allocations: 3.331 MB / 473.7 MB, free: 125.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.2411, allocations: 72.72 kB / 473.8 MB, free: 125.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.2423, allocations: 1.601 MB / 475.4 MB, free: 123.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.2423, allocations: 53.7 kB / 475.4 MB, free: 123.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.2429, allocations: 1.813 MB / 477.2 MB, free: 121.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.2431, allocations: 0.5062 MB / 477.7 MB, free: 121.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.2434, allocations: 389 kB / 478.1 MB, free: 121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.239e-05/0.2434, allocations: 476.8 kB / 478.6 MB, free: 120.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.2438, allocations: 271.5 kB / 478.9 MB, free: 120.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/0.2444, allocations: 1.319 MB / 480.2 MB, free: 118.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.2456, allocations: 1.724 MB / 481.9 MB, free: 116.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.2456, allocations: 8 kB / 481.9 MB, free: 116.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.001678/0.2473, allocations: 1.673 MB / 483.6 MB, free: 114.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.2473, allocations: 19.94 kB / 483.6 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.2473, allocations: 24 kB / 483.6 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.2475, allocations: 127.5 kB / 483.8 MB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/0.2483, allocations: 452.3 kB / 484.2 MB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008834/0.2492, allocations: 2.305 MB / 486.5 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/0.2498, allocations: 75.94 kB / 486.6 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.2499, allocations: 95.98 kB / 486.7 MB, free: 111.8 MB / 410.7 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.0004525/0.2503, allocations: 291.1 kB / 486.9 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.2505, allocations: 250.7 kB / 487.2 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.2519, allocations: 1.204 MB / 488.4 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.2519, allocations: 12 kB / 488.4 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2519, allocations: 7.938 kB / 488.4 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.2519, allocations: 11.95 kB / 488.4 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/0.2556, allocations: 3.545 MB / 492 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2556, allocations: 4.281 kB / 492 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.256, allocations: 210.6 kB / 492.2 MB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/0.2565, allocations: 277.4 kB / 492.5 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/0.2565, allocations: 35.98 kB / 492.5 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/0.2593, allocations: 7.273 MB / 499.8 MB, free: 98.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2593, allocations: 11.41 kB / 499.8 MB, free: 98.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.2609, allocations: 1.695 MB / 0.4897 GB, free: 96.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.2613, allocations: 329.5 kB / 0.49 GB, free: 96.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.2614, allocations: 32 kB / 0.4901 GB, free: 96.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.2618, allocations: 60.03 kB / 0.4901 GB, free: 96.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.262, allocations: 108.5 kB / 0.4902 GB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.262, allocations: 39.98 kB / 0.4903 GB, free: 96.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007336/0.2627, allocations: 0.892 MB / 0.4911 GB, free: 95.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2627, allocations: 0 / 0.4911 GB, free: 95.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001309/0.264, allocations: 0.5976 MB / 0.4917 GB, free: 94.55 MB / 410.7 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.0002576/0.2643, allocations: 167.5 kB / 0.4919 GB, free: 94.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.2658, allocations: 1.221 MB / 0.4931 GB, free: 93.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2658, allocations: 448 / 0.4931 GB, free: 93.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00085/0.2666, allocations: 1.115 MB / 0.4942 GB, free: 92.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.2678, allocations: 495.8 kB / 0.4946 GB, free: 91.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.2737, allocations: 5.381 MB / 0.4999 GB, free: 86.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.2741, allocations: 0.8107 MB / 0.5007 GB, free: 85.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006758/0.2748, allocations: 393 kB / 0.501 GB, free: 84.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.275, allocations: 144.5 kB / 0.5012 GB, free: 84.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.275, allocations: 0 / 0.5012 GB, free: 84.8 MB / 410.7 MB Notification: Performance of Templates: time 0.03012/0.3051, allocations: 26.26 MB / 0.5268 GB, free: 59.06 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6621366338804364]