Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.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.0008863/0.0008863, allocations: 80.94 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.9233/0.9233, allocations: 177.1 MB / 200.3 MB, free: 5.656 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.00112/0.00112, allocations: 160.6 kB / 257 MB, free: 12.94 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.02485/0.02485, allocations: 6.659 MB / 266.9 MB, free: 3.191 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_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 285.7 MB, free: 396 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.68e-05, allocations: 5.969 kB / 285.7 MB, free: 392 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.1136/0.1136, allocations: 15.75 MB / 301.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009028/0.1226, allocations: 5.671 MB / 307.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.1243, allocations: 114.8 kB / 307.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.1263, allocations: 1.275 MB / 308.5 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.1288, allocations: 1.619 MB / 310.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.1302, allocations: 1.023 MB / 311.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003372/0.1336, allocations: 4.989 MB / 316.2 MB, free: 108 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.1356, allocations: 1.964 MB / 318.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.1391, allocations: 3.224 MB / 321.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002773/0.1419, allocations: 2.276 MB / 323.6 MB, free: 8.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009523/0.1428, allocations: 0.5703 MB / 324.2 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.1439, allocations: 0.8003 MB / 325 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007021/0.1446, allocations: 1.344 MB / 326.3 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.1458, allocations: 1.68 MB / 328 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.1492, allocations: 3.941 MB / 332 MB, free: 192 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1492, allocations: 0 / 332 MB, free: 192 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1492, allocations: 0 / 332 MB, free: 192 kB / 282.7 MB Notification: Performance of Transformations before backend: time 3.331e-05/0.1493, allocations: 0 / 332 MB, free: 192 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.005695/0.155, allocations: 4.903 MB / 336.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.155, allocations: 12.03 kB / 336.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.158, allocations: 1.327 MB / 338.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.1602, allocations: 1.775 MB / 340 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.1604, allocations: 275.8 kB / 340.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/0.1607, allocations: 368.3 kB / 340.6 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/0.1638, allocations: 2.766 MB / 343.4 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/0.1638, allocations: 15.88 kB / 343.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.164, allocations: 152 kB / 343.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.34e-05/0.1641, allocations: 159.3 kB / 343.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.1656, allocations: 1.068 MB / 344.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.1756, allocations: 9.915 MB / 354.7 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.1776, allocations: 1.713 MB / 356.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.1789, allocations: 1.092 MB / 357.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003332/0.1822, allocations: 2.235 MB / 359.7 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.1823, allocations: 51.88 kB / 359.8 MB, free: 3.777 MB / 314.7 MB Notification: Performance of pre-optimization done (n=137): time 3.326e-06/0.1823, allocations: 0 / 359.8 MB, free: 3.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.005219/0.1875, allocations: 3.425 MB / 363.2 MB, free: 328 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1875, allocations: 68.72 kB / 363.3 MB, free: 248 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.1885, allocations: 1.475 MB / 364.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003189/0.1889, allocations: 53.7 kB / 364.8 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005835/0.1894, allocations: 1.539 MB / 366.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.1897, allocations: 0.5693 MB / 366.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/0.1901, allocations: 403.8 kB / 367.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.1901, allocations: 301.1 kB / 367.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.1905, allocations: 251.5 kB / 367.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/0.1911, allocations: 1.006 MB / 368.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.1922, allocations: 1.492 MB / 370.3 MB, free: 8.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.1922, allocations: 8 kB / 370.3 MB, free: 8.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001932/0.1942, allocations: 1.51 MB / 371.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.1942, allocations: 22.06 kB / 371.9 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.1942, allocations: 31.98 kB / 371.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004552/0.1947, allocations: 237.1 kB / 372.1 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.1957, allocations: 0.5304 MB / 372.7 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.198, allocations: 3.543 MB / 376.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.1986, allocations: 92.06 kB / 376.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/0.1987, allocations: 80 kB / 376.4 MB, free: 2.133 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.0005205/0.1992, allocations: 259.8 kB / 376.6 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.1994, allocations: 183.8 kB / 376.8 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.2007, allocations: 1.088 MB / 377.9 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.2007, allocations: 16 kB / 377.9 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2008, allocations: 4 kB / 377.9 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.2008, allocations: 11.95 kB / 377.9 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.2041, allocations: 2.483 MB / 380.4 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.2041, allocations: 4 kB / 380.4 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.2049, allocations: 361.8 kB / 380.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.2054, allocations: 243.8 kB / 381 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/0.2054, allocations: 39.98 kB / 381 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/0.2086, allocations: 5.175 MB / 386.2 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2086, allocations: 4 kB / 386.2 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.2101, allocations: 1.445 MB / 387.7 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/0.2105, allocations: 230.5 kB / 387.9 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.2107, allocations: 35.98 kB / 387.9 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.2111, allocations: 59.92 kB / 388 MB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.2113, allocations: 109.1 kB / 388.1 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.2113, allocations: 35.98 kB / 388.1 MB, free: 5.945 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005824/0.2119, allocations: 0.7202 MB / 388.8 MB, free: 5.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2119, allocations: 0 / 388.8 MB, free: 5.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001465/0.2134, allocations: 0.6523 MB / 389.5 MB, free: 4.547 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.0002307/0.2136, allocations: 148.1 kB / 389.6 MB, free: 4.391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.215, allocations: 1.32 MB / 391 MB, free: 3.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.4e-05/0.215, allocations: 29.88 kB / 391 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000788/0.2158, allocations: 0.908 MB / 391.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.2169, allocations: 0.4942 MB / 392.4 MB, free: 1.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006745/0.2236, allocations: 5.503 MB / 397.9 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.2242, allocations: 0.7176 MB / 398.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000797/0.225, allocations: 306.9 kB / 398.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000801/0.2258, allocations: 0.5108 MB / 399.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of SimCode: time 1.422e-06/0.2258, allocations: 0 / 399.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of Templates: time 0.1432/0.369, allocations: 32.05 MB / 431.5 MB, free: 99.57 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.394071899354458]