Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.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.001389/0.001389, allocations: 80.14 kB / 19.18 MB, free: 2.516 MB / 14.72 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 1.404/1.404, allocations: 177.1 MB / 199.5 MB, free: 8.422 MB / 190.1 MB " [Timeout remaining time 178] 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.002056/0.002056, allocations: 154 kB / 256 MB, free: 4.316 MB / 238.1 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.04016/0.04016, allocations: 6.659 MB / 319 MB, free: 5.375 MB / 302.1 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_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2999,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2999,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 445.9 MB, free: 25.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.975e-05, allocations: 2.281 kB / 445.9 MB, free: 25.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.01194/0.01197, allocations: 14.34 MB / 460.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008918/0.02089, allocations: 5.279 MB / 465.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.02407, allocations: 115.4 kB / 465.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004087/0.02816, allocations: 1.219 MB / 466.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005544/0.0337, allocations: 1.63 MB / 468.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.03646, allocations: 1.003 MB / 469.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00717/0.04363, allocations: 4.975 MB / 474.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004282/0.04791, allocations: 1.921 MB / 476.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006099/0.05401, allocations: 3.177 MB / 479.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004313/0.05832, allocations: 2.057 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.05942, allocations: 0.5742 MB / 482.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.06134, allocations: 0.7964 MB / 483 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.06258, allocations: 1.324 MB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002839/0.06542, allocations: 1.672 MB / 486 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2018/0.2672, allocations: 7.603 MB / 493.6 MB, free: 24.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.2672, allocations: 0 / 493.6 MB, free: 24.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2672, allocations: 0 / 493.6 MB, free: 24.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002408/0.2674, allocations: 0 / 493.6 MB, free: 24.51 MB / 350.1 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.01655/0.284, allocations: 5 MB / 498.6 MB, free: 22.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.284, allocations: 14.34 kB / 498.6 MB, free: 22.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/0.2902, allocations: 0.9816 MB / 499.6 MB, free: 22.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007729/0.2979, allocations: 2.791 MB / 0.4906 GB, free: 21.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/0.2982, allocations: 278.3 kB / 0.4909 GB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/0.2999, allocations: 364.4 kB / 0.4912 GB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008502/0.3084, allocations: 4.94 MB / 0.4961 GB, free: 19.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.977e-05/0.3085, allocations: 0 / 0.4961 GB, free: 19.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003623/0.3089, allocations: 156 kB / 0.4962 GB, free: 19.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.309, allocations: 153.9 kB / 0.4964 GB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006797/0.3158, allocations: 4.048 MB / 0.5003 GB, free: 17.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02404/0.3398, allocations: 13.29 MB / 0.5133 GB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/0.3443, allocations: 2.737 MB / 0.516 GB, free: 5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003139/0.3474, allocations: 1.814 MB / 0.5177 GB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007336/0.3548, allocations: 3.658 MB / 0.5213 GB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.3548, allocations: 55.52 kB / 0.5213 GB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=137): time 3.767e-06/0.3548, allocations: 0 / 0.5213 GB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.01679/0.3716, allocations: 6.214 MB / 0.5274 GB, free: 9.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.3717, allocations: 72.72 kB / 0.5275 GB, free: 9.219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004127/0.3758, allocations: 2.006 MB / 0.5294 GB, free: 7.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001935/0.376, allocations: 53.55 kB / 0.5295 GB, free: 7.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.3776, allocations: 1.801 MB / 0.5313 GB, free: 5.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005996/0.3782, allocations: 0.5708 MB / 0.5318 GB, free: 4.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006877/0.3789, allocations: 412 kB / 0.5322 GB, free: 4.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3791, allocations: 305.1 kB / 0.5325 GB, free: 4.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.3807, allocations: 0.8398 MB / 0.5333 GB, free: 3.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/0.383, allocations: 1.626 MB / 0.5349 GB, free: 1.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004262/0.3873, allocations: 2.612 MB / 0.5375 GB, free: 14.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.3873, allocations: 8 kB / 0.5375 GB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006116/0.3934, allocations: 3.026 MB / 0.5404 GB, free: 11.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.3935, allocations: 16 kB / 0.5404 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.066e-05/0.3935, allocations: 24 kB / 0.5405 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.3945, allocations: 350 kB / 0.5408 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.3964, allocations: 0.4955 MB / 0.5413 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/0.4029, allocations: 4.95 MB / 0.5461 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/0.4052, allocations: 103.9 kB / 0.5462 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.4055, allocations: 104 kB / 0.5463 GB, free: 5.316 MB / 382.1 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.002756/0.4083, allocations: 1.133 MB / 0.5474 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000655/0.4089, allocations: 230.6 kB / 0.5476 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004946/0.4139, allocations: 2.305 MB / 0.5499 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.4139, allocations: 19.98 kB / 0.5499 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4139, allocations: 4 kB / 0.5499 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-05/0.414, allocations: 7.969 kB / 0.5499 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.4248, allocations: 4.842 MB / 0.5546 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4248, allocations: 4 kB / 0.5546 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.4261, allocations: 270.7 kB / 0.5549 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.4272, allocations: 361.9 kB / 0.5552 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.4274, allocations: 39.98 kB / 0.5553 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008394/0.4357, allocations: 6.949 MB / 0.5621 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4358, allocations: 3.656 kB / 0.5621 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006449/0.4422, allocations: 3.422 MB / 0.5654 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/0.4437, allocations: 414.4 kB / 0.5658 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003628/0.4441, allocations: 35.59 kB / 0.5658 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.4452, allocations: 67.95 kB / 0.5659 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/0.4455, allocations: 121.1 kB / 0.566 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.4456, allocations: 43.98 kB / 0.5661 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00237/0.448, allocations: 1.319 MB / 0.5674 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.448, allocations: 0 / 0.5674 GB, free: 15.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002642/0.4507, allocations: 0.6484 MB / 0.568 GB, free: 14.85 MB / 414.1 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.0003918/0.451, allocations: 165.4 kB / 0.5681 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004273/0.4553, allocations: 2.349 MB / 0.5704 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4553, allocations: 0 / 0.5704 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002438/0.4578, allocations: 1.368 MB / 0.5718 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/0.4604, allocations: 493.2 kB / 0.5722 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.4726, allocations: 6.395 MB / 0.5785 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002511/0.4751, allocations: 1.982 MB / 0.5804 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001692/0.4768, allocations: 0.4907 MB / 0.5809 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/0.4773, allocations: 148.5 kB / 0.5811 GB, free: 1.457 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4773, allocations: 0 / 0.5811 GB, free: 1.457 MB / 414.1 MB Notification: Performance of Templates: time 0.0593/0.5366, allocations: 29.52 MB / 0.6099 GB, free: 4.414 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.77773642167449] Failed to read output from testmodel.py, exit status != 0: 0.545739907771349 0.561703886 0.291220135 Calling exit ...