Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.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.0009471/0.0009471, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.8891/0.8891, allocations: 177.2 MB / 200.3 MB, free: 5.363 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.001125/0.001125, allocations: 156.6 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.02447/0.02447, allocations: 6.662 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_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 285.7 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.925e-05, allocations: 2.312 kB / 285.7 MB, free: 308 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.1225/0.1225, allocations: 15.7 MB / 301.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008122/0.1306, allocations: 5.666 MB / 307 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.1325, allocations: 119.1 kB / 307.2 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.1346, allocations: 1.259 MB / 308.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.1376, allocations: 1.642 MB / 310.1 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.139, allocations: 1.017 MB / 311.1 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002974/0.1419, allocations: 4.99 MB / 316.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.1438, allocations: 1.971 MB / 318 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/0.147, allocations: 3.228 MB / 321.3 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.1493, allocations: 2.268 MB / 323.5 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008426/0.1502, allocations: 0.5664 MB / 324.1 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.1513, allocations: 0.7847 MB / 324.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007361/0.152, allocations: 1.351 MB / 326.2 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.1537, allocations: 1.676 MB / 327.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.1574, allocations: 3.941 MB / 331.9 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1574, allocations: 7.984 kB / 331.9 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1574, allocations: 0 / 331.9 MB, free: 68 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001125/0.1575, allocations: 0 / 331.9 MB, free: 68 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.006118/0.1636, allocations: 4.895 MB / 336.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1636, allocations: 8.031 kB / 336.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.1665, allocations: 1.335 MB / 338.1 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.169, allocations: 1.764 MB / 339.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.1692, allocations: 283.8 kB / 340.1 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003508/0.1695, allocations: 368.4 kB / 340.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.1724, allocations: 2.766 MB / 343.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.086e-05/0.1725, allocations: 15.81 kB / 343.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/0.1727, allocations: 152.7 kB / 343.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/0.1729, allocations: 155.3 kB / 343.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.1746, allocations: 1.069 MB / 344.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.1862, allocations: 9.92 MB / 354.6 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.1881, allocations: 1.702 MB / 356.3 MB, free: 7.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.1895, allocations: 1.1 MB / 357.4 MB, free: 5.984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003866/0.1933, allocations: 2.235 MB / 359.6 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.1934, allocations: 47.88 kB / 359.7 MB, free: 3.656 MB / 314.7 MB Notification: Performance of pre-optimization done (n=137): time 3.216e-06/0.1934, allocations: 0 / 359.7 MB, free: 3.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.006045/0.1994, allocations: 3.425 MB / 363.1 MB, free: 204 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.1994, allocations: 68.72 kB / 363.2 MB, free: 124 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.2007, allocations: 1.482 MB / 364.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/0.2007, allocations: 49.7 kB / 364.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/0.2014, allocations: 1.539 MB / 366.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.2017, allocations: 0.5732 MB / 366.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000365/0.202, allocations: 395.8 kB / 367.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.254e-05/0.2021, allocations: 313.1 kB / 367.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.2024, allocations: 247.5 kB / 367.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/0.2033, allocations: 1.002 MB / 368.7 MB, free: 10.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.2045, allocations: 1.5 MB / 370.2 MB, free: 8.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.2045, allocations: 8 kB / 370.2 MB, free: 8.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001858/0.2063, allocations: 1.498 MB / 371.7 MB, free: 6.723 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.2064, allocations: 23.97 kB / 371.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.2064, allocations: 28 kB / 371.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004891/0.2069, allocations: 241 kB / 372 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009122/0.2078, allocations: 487.2 kB / 372.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.2103, allocations: 3.534 MB / 376 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009943/0.2113, allocations: 91.97 kB / 376.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.2114, allocations: 83.98 kB / 376.2 MB, free: 2.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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 (261): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,13,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000671/0.2121, allocations: 259.9 kB / 376.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.2123, allocations: 183.8 kB / 376.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.2137, allocations: 1.084 MB / 377.7 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.2137, allocations: 20 kB / 377.7 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2137, allocations: 4 kB / 377.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.2138, allocations: 7.969 kB / 377.8 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.2171, allocations: 2.472 MB / 380.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.2171, allocations: 12.19 kB / 380.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.2177, allocations: 247.7 kB / 380.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004815/0.2182, allocations: 249.7 kB / 380.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.2183, allocations: 39.98 kB / 380.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003269/0.2215, allocations: 5.224 MB / 386 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2215, allocations: 4 kB / 386 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.2232, allocations: 1.441 MB / 387.4 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.2237, allocations: 238.5 kB / 387.7 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.2238, allocations: 36.05 kB / 387.7 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.2243, allocations: 51.98 kB / 387.7 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.2244, allocations: 121 kB / 387.9 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.2245, allocations: 31.98 kB / 387.9 MB, free: 5.941 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006211/0.2251, allocations: 0.7124 MB / 388.6 MB, free: 5.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2251, allocations: 4 kB / 388.6 MB, free: 5.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001516/0.2266, allocations: 0.6562 MB / 389.3 MB, free: 4.543 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im,constantTorque.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 {(2,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.2269, allocations: 154.4 kB / 389.4 MB, free: 4.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.2285, allocations: 1.32 MB / 390.7 MB, free: 3.039 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.318e-05/0.2285, allocations: 29.81 kB / 390.8 MB, free: 3.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007778/0.2293, allocations: 0.9005 MB / 391.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.2304, allocations: 492 kB / 392.2 MB, free: 1.594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006758/0.2371, allocations: 5.504 MB / 397.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/0.2377, allocations: 0.7253 MB / 398.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007621/0.2385, allocations: 306.8 kB / 398.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007789/0.2393, allocations: 0.5107 MB / 399.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2393, allocations: 0 / 399.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.143/0.3823, allocations: 31.84 MB / 431 MB, free: 99.51 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3156644832342863]