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.001031/0.001031, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002458, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9094/0.9094, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1797/1.089, allocations: 53.64 MB / 241.9 MB, free: 2.75 MB / 234.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.001269/0.001269, allocations: 158.2 kB / 242.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001706/0.002975, allocations: 480.9 kB / 243.2 MB, free: 1.43 MB / 234.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.02874/0.02874, allocations: 6.66 MB / 250.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005029/0.03377, allocations: 2.662 MB / 253.3 MB, free: 7.57 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 2.194e-06/2.194e-06, allocations: 0 / 254.6 MB, free: 6.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.057e-05, allocations: 5.125 kB / 254.6 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.01933/0.01937, allocations: 15.86 MB / 270.5 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009849/0.02921, allocations: 5.713 MB / 276.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.03054, allocations: 119.3 kB / 276.3 MB, free: 500 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.03236, allocations: 1.271 MB / 277.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.03472, allocations: 1.611 MB / 279.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.036, allocations: 1.017 MB / 280.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003147/0.03915, allocations: 4.993 MB / 285.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.04087, allocations: 1.968 MB / 287.1 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003174/0.04404, allocations: 3.525 MB / 290.7 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.0463, allocations: 2.268 MB / 292.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006564/0.04696, allocations: 0.5664 MB / 293.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.04814, allocations: 0.7926 MB / 294.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006831/0.04883, allocations: 1.083 MB / 295.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.05021, allocations: 1.404 MB / 296.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.0536, allocations: 3.734 MB / 300.5 MB, free: 8.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-05/0.05361, allocations: 0 / 300.5 MB, free: 8.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.05362, allocations: 7.922 kB / 300.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.469e-05/0.05367, allocations: 0 / 300.5 MB, free: 8.062 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.005923/0.05959, allocations: 5.814 MB / 306.3 MB, free: 2.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.05963, allocations: 8.031 kB / 306.3 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/0.06234, allocations: 1.335 MB / 307.7 MB, free: 0.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.06476, allocations: 1.764 MB / 309.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.06492, allocations: 283.7 kB / 309.7 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003381/0.06525, allocations: 372.3 kB / 310.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.068, allocations: 2.77 MB / 312.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-05/0.06805, allocations: 3.938 kB / 312.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/0.06825, allocations: 148 kB / 313 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.06836, allocations: 167.3 kB / 313.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.06985, allocations: 1.068 MB / 314.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009529/0.07938, allocations: 9.974 MB / 324.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.08125, allocations: 1.712 MB / 325.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.08254, allocations: 1.088 MB / 327 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002889/0.08543, allocations: 2.222 MB / 329.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.08547, allocations: 59.8 kB / 329.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=136): time 2.474e-06/0.08547, allocations: 0 / 329.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=158): time 0.005041/0.09051, allocations: 3.448 MB / 332.7 MB, free: 7.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.09054, allocations: 68.72 kB / 332.8 MB, free: 7.043 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.09155, allocations: 1.478 MB / 334.3 MB, free: 5.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/0.09161, allocations: 53.7 kB / 334.3 MB, free: 5.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005819/0.0922, allocations: 1.546 MB / 335.9 MB, free: 3.898 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.09246, allocations: 0.5616 MB / 336.4 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.09279, allocations: 395.8 kB / 336.8 MB, free: 2.938 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.09285, allocations: 309.1 kB / 337.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.09315, allocations: 247.5 kB / 337.4 MB, free: 2.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.09375, allocations: 1.002 MB / 338.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1215/0.2152, allocations: 1.49 MB / 339.9 MB, free: 50.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.49e-05/0.2152, allocations: 7.125 kB / 339.9 MB, free: 50.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002199/0.2174, allocations: 1.501 MB / 341.4 MB, free: 50.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.2175, allocations: 16.28 kB / 341.4 MB, free: 50.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/0.2175, allocations: 25.27 kB / 341.4 MB, free: 50.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/0.218, allocations: 239.7 kB / 341.6 MB, free: 50.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.2192, allocations: 0.5751 MB / 342.2 MB, free: 50.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.2212, allocations: 3.539 MB / 345.8 MB, free: 47.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.222, allocations: 92.41 kB / 345.9 MB, free: 47.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.865e-05/0.2221, allocations: 83.83 kB / 345.9 MB, free: 47.6 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 (260): * Single equations (assignments): 257 * 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.000616/0.2227, allocations: 263 kB / 346.2 MB, free: 47.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.2229, allocations: 186.1 kB / 346.4 MB, free: 47.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.2242, allocations: 1.083 MB / 347.5 MB, free: 47.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2242, allocations: 16.09 kB / 347.5 MB, free: 47.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2242, allocations: 3.469 kB / 347.5 MB, free: 47.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.2242, allocations: 11.91 kB / 347.5 MB, free: 47.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.2269, allocations: 2.473 MB / 350 MB, free: 46.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2269, allocations: 1.938 kB / 350 MB, free: 46.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007664/0.2277, allocations: 387.5 kB / 350.3 MB, free: 46.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.228, allocations: 229.9 kB / 350.6 MB, free: 46.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/0.2285, allocations: 252.9 kB / 350.8 MB, free: 46.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.2285, allocations: 40.59 kB / 350.9 MB, free: 46.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.2308, allocations: 5.177 MB / 356 MB, free: 43.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2308, allocations: 3.375 kB / 356 MB, free: 43.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.2322, allocations: 1.433 MB / 357.5 MB, free: 42.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.2324, allocations: 34.97 kB / 357.5 MB, free: 42.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.2328, allocations: 51.91 kB / 357.6 MB, free: 42.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.2329, allocations: 114.7 kB / 357.7 MB, free: 42.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.2329, allocations: 35.91 kB / 357.7 MB, free: 42.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004693/0.2334, allocations: 0.7227 MB / 358.4 MB, free: 42.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2334, allocations: 0 / 358.4 MB, free: 42.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001204/0.2346, allocations: 0.6524 MB / 359.1 MB, free: 42.59 MB / 330.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 (129): * Single equations (assignments): 126 * 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.0002/0.2348, allocations: 153.4 kB / 359.2 MB, free: 42.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.236, allocations: 1.296 MB / 360.5 MB, free: 42.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-05/0.236, allocations: 42.03 kB / 360.6 MB, free: 42.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.2367, allocations: 0.9072 MB / 361.5 MB, free: 41.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.2377, allocations: 0.6681 MB / 362.1 MB, free: 41.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/0.2591, allocations: 5.804 MB / 367.9 MB, free: 39.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.2597, allocations: 0.725 MB / 368.7 MB, free: 39.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008939/0.2606, allocations: 310.7 kB / 369 MB, free: 39.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007708/0.2614, allocations: 0.5058 MB / 369.5 MB, free: 39.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.382e-06/0.2614, allocations: 0 / 369.5 MB, free: 39.17 MB / 330.7 MB Notification: Performance of Templates: time 0.0365/0.2979, allocations: 33.43 MB / 402.9 MB, free: 8.27 MB / 330.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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3105789264664054]