Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.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.001423/0.001423, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.9228/0.9228, allocations: 177.2 MB / 200.3 MB, free: 5.371 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.001191/0.001191, allocations: 161.4 kB / 257 MB, free: 12.81 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.02448/0.02448, allocations: 6.657 MB / 266.9 MB, free: 3.062 MB / 250.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 285.7 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.368e-05, allocations: 2.312 kB / 285.7 MB, free: 328 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.1231/0.1231, allocations: 16.53 MB / 302.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009838/0.1329, allocations: 5.839 MB / 308 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.1349, allocations: 128.5 kB / 308.2 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.1373, allocations: 1.311 MB / 309.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00352/0.1408, allocations: 1.709 MB / 311.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.1424, allocations: 1.094 MB / 312.3 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003902/0.1463, allocations: 5.311 MB / 317.6 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.1488, allocations: 2.29 MB / 319.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.1528, allocations: 3.571 MB / 323.4 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.1555, allocations: 2.444 MB / 325.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.1566, allocations: 0.6133 MB / 326.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.1582, allocations: 0.8355 MB / 327.3 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.1592, allocations: 1.484 MB / 328.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.161, allocations: 1.816 MB / 330.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004144/0.1651, allocations: 4.279 MB / 334.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1651, allocations: 4 kB / 334.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1651, allocations: 0 / 334.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.521e-05/0.1652, allocations: 0 / 334.9 MB, free: 13.12 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.007012/0.1722, allocations: 5.271 MB / 340.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1723, allocations: 12.03 kB / 340.2 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/0.1754, allocations: 1.378 MB / 341.6 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/0.1784, allocations: 1.918 MB / 343.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.1786, allocations: 300.5 kB / 343.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003845/0.179, allocations: 404.2 kB / 344.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00339/0.1824, allocations: 3.012 MB / 347.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-05/0.1824, allocations: 15.08 kB / 347.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/0.1827, allocations: 160 kB / 347.4 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.1828, allocations: 176 kB / 347.5 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.1846, allocations: 1.198 MB / 348.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.1966, allocations: 10.62 MB / 359.4 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.1988, allocations: 2.005 MB / 361.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.2002, allocations: 1.159 MB / 362.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003925/0.2042, allocations: 2.499 MB / 365 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.2042, allocations: 59.81 kB / 365.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 3.436e-06/0.2042, allocations: 0 / 365.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.004553/0.2087, allocations: 2.756 MB / 367.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.2088, allocations: 68.72 kB / 367.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.21, allocations: 1.527 MB / 369.4 MB, free: 9.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-05/0.2101, allocations: 57.7 kB / 369.5 MB, free: 9.707 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009734/0.211, allocations: 1.622 MB / 371.1 MB, free: 8.066 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.2114, allocations: 0.5848 MB / 371.7 MB, free: 7.477 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/0.2117, allocations: 383.7 kB / 372.1 MB, free: 7.094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.2118, allocations: 301.1 kB / 372.4 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.2121, allocations: 239.3 kB / 372.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007252/0.2128, allocations: 0.9475 MB / 373.6 MB, free: 5.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.2139, allocations: 1.423 MB / 375 MB, free: 3.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.2139, allocations: 11.94 kB / 375 MB, free: 3.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.001799/0.2157, allocations: 1.365 MB / 376.4 MB, free: 2.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.2158, allocations: 12 kB / 376.4 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.2158, allocations: 24 kB / 376.4 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.216, allocations: 132.3 kB / 376.5 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009495/0.2169, allocations: 0.4953 MB / 377 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.218, allocations: 1.683 MB / 378.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007772/0.2188, allocations: 83.94 kB / 378.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.2189, allocations: 79.98 kB / 378.9 MB, free: 15.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (267): * Single equations (assignments): 265 * 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.0006771/0.2196, allocations: 263.8 kB / 379.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.2198, allocations: 191.8 kB / 379.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.2211, allocations: 1.082 MB / 380.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.2211, allocations: 16 kB / 380.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2211, allocations: 7.984 kB / 380.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.2211, allocations: 15.86 kB / 380.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.2245, allocations: 2.619 MB / 383 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2245, allocations: 3.984 kB / 383 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.2251, allocations: 255.9 kB / 383.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007219/0.2258, allocations: 257.1 kB / 383.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/0.2259, allocations: 35.98 kB / 383.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/0.229, allocations: 5.286 MB / 388.9 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.229, allocations: 8.031 kB / 388.9 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.2306, allocations: 1.457 MB / 390.3 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007065/0.2313, allocations: 258.4 kB / 390.6 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.2315, allocations: 28 kB / 390.6 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.2319, allocations: 63.97 kB / 390.7 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.2321, allocations: 121 kB / 390.8 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.2322, allocations: 39.98 kB / 390.8 MB, free: 3.129 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006122/0.2328, allocations: 0.7549 MB / 391.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2328, allocations: 0 / 391.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001441/0.2342, allocations: 0.6718 MB / 392.3 MB, free: 1.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,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,mechanicalSensor.flange_a.phi) * 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 (130): * Single equations (assignments): 127 * 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.0002439/0.2345, allocations: 156.1 kB / 392.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.2358, allocations: 1.081 MB / 393.5 MB, free: 428 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.264e-05/0.2358, allocations: 25.81 kB / 393.5 MB, free: 400 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.2369, allocations: 0.9127 MB / 394.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.2384, allocations: 0.5217 MB / 394.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009211/0.2476, allocations: 5.874 MB / 400.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008293/0.2485, allocations: 0.7781 MB / 401.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001136/0.2496, allocations: 315.3 kB / 401.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.2507, allocations: 0.5342 MB / 402.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2507, allocations: 7.938 kB / 402.4 MB, free: 7.32 MB / 362.7 MB Notification: Performance of Templates: time 0.1549/0.4056, allocations: 31.87 MB / 434.3 MB, free: 89.75 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4054213729687035]