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.001927/0.001927, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.611/1.611, allocations: 177.1 MB / 199.7 MB, free: 5.805 MB / 186.7 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.00222/0.00222, allocations: 167.7 kB / 256.3 MB, free: 13.16 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.04107/0.04107, allocations: 6.659 MB / 319.4 MB, free: 26.55 MB / 266.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 2.114e-06/2.114e-06, allocations: 0 / 391 MB, free: 2.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.944e-05/4.156e-05, allocations: 2.312 kB / 391 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.02486/0.02491, allocations: 16.01 MB / 407 MB, free: 2.824 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1896/0.2145, allocations: 5.458 MB / 412.4 MB, free: 69.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004678/0.2192, allocations: 115.5 kB / 412.5 MB, free: 69.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004995/0.2242, allocations: 1.219 MB / 413.8 MB, free: 69.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007235/0.2314, allocations: 1.631 MB / 415.4 MB, free: 68.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.235, allocations: 1.023 MB / 416.4 MB, free: 68.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008006/0.243, allocations: 4.975 MB / 421.4 MB, free: 66.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00327/0.2462, allocations: 1.921 MB / 423.3 MB, free: 65.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006405/0.2526, allocations: 3.206 MB / 426.5 MB, free: 64.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005258/0.2579, allocations: 2.256 MB / 428.8 MB, free: 63.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001546/0.2594, allocations: 0.5668 MB / 429.3 MB, free: 63.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.2625, allocations: 0.7916 MB / 430.1 MB, free: 63.31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.2637, allocations: 1.351 MB / 431.5 MB, free: 62.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004024/0.2677, allocations: 1.684 MB / 433.2 MB, free: 61.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008383/0.2761, allocations: 7.655 MB / 440.8 MB, free: 54.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.2761, allocations: 0 / 440.8 MB, free: 54.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2761, allocations: 4 kB / 440.8 MB, free: 54.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002392/0.2763, allocations: 0 / 440.8 MB, free: 54.59 MB / 330.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.01388/0.2902, allocations: 5.734 MB / 446.6 MB, free: 48.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2902, allocations: 15.97 kB / 446.6 MB, free: 48.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005519/0.2958, allocations: 1.45 MB / 448 MB, free: 47.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006562/0.3023, allocations: 2.772 MB / 450.8 MB, free: 44.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.3025, allocations: 279.8 kB / 451.1 MB, free: 44.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.3036, allocations: 377.5 kB / 451.4 MB, free: 44.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008282/0.3119, allocations: 5.047 MB / 456.5 MB, free: 38.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.583e-05/0.312, allocations: 8 kB / 456.5 MB, free: 38.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003361/0.3123, allocations: 150.5 kB / 456.6 MB, free: 38.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.3124, allocations: 155.4 kB / 456.8 MB, free: 38.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006171/0.3186, allocations: 3.642 MB / 460.4 MB, free: 34.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02795/0.3466, allocations: 24.13 MB / 484.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/0.3509, allocations: 2.596 MB / 487.2 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003054/0.3539, allocations: 1.737 MB / 488.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007074/0.361, allocations: 3.739 MB / 492.6 MB, free: 1.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.361, allocations: 50.7 kB / 492.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 3.086e-06/0.361, allocations: 4 kB / 492.7 MB, free: 1.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01396/0.375, allocations: 5.671 MB / 498.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.3751, allocations: 68.72 kB / 498.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005137/0.3802, allocations: 2.581 MB / 0.4893 GB, free: 9.219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002526/0.3805, allocations: 53.7 kB / 0.4893 GB, free: 9.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.3827, allocations: 2.029 MB / 0.4913 GB, free: 7.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009091/0.3836, allocations: 0.6443 MB / 0.4919 GB, free: 6.484 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009531/0.3846, allocations: 0.5254 MB / 0.4924 GB, free: 5.949 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002526/0.3848, allocations: 480.7 kB / 0.4929 GB, free: 5.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.3863, allocations: 0.6798 MB / 0.4936 GB, free: 4.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/0.3892, allocations: 1.897 MB / 0.4954 GB, free: 2.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004474/0.3937, allocations: 2.816 MB / 0.4982 GB, free: 15.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/0.3937, allocations: 8 kB / 0.4982 GB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006391/0.4001, allocations: 2.835 MB / 0.5009 GB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.4002, allocations: 16 kB / 0.501 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.733e-05/0.4002, allocations: 24 kB / 0.501 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.4014, allocations: 363.5 kB / 0.5013 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.4035, allocations: 0.4992 MB / 0.5018 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007109/0.4106, allocations: 5.964 MB / 0.5076 GB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.4128, allocations: 103.9 kB / 0.5077 GB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.413, allocations: 99.98 kB / 0.5078 GB, free: 4.973 MB / 362.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.002672/0.4157, allocations: 1.054 MB / 0.5089 GB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007522/0.4165, allocations: 278.5 kB / 0.5091 GB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00457/0.421, allocations: 2.023 MB / 0.5111 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.421, allocations: 16 kB / 0.5111 GB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4211, allocations: 4 kB / 0.5111 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.4211, allocations: 7.969 kB / 0.5111 GB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.4335, allocations: 5.768 MB / 0.5168 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.4335, allocations: 0 / 0.5168 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.435, allocations: 271.8 kB / 0.517 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.4363, allocations: 374 kB / 0.5174 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.4364, allocations: 39.98 kB / 0.5174 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/0.4465, allocations: 8.468 MB / 0.5257 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4465, allocations: 0 / 0.5257 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006428/0.453, allocations: 3.06 MB / 0.5287 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.4543, allocations: 394.5 kB / 0.5291 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/0.4547, allocations: 39.94 kB / 0.5291 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.4557, allocations: 55.97 kB / 0.5291 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005823/0.4563, allocations: 133 kB / 0.5293 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.4564, allocations: 39.98 kB / 0.5293 GB, free: 14.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00263/0.459, allocations: 1.444 MB / 0.5307 GB, free: 13.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.459, allocations: 4 kB / 0.5307 GB, free: 13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003004/0.462, allocations: 0.6562 MB / 0.5314 GB, free: 12.35 MB / 394.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.0004477/0.4625, allocations: 165.2 kB / 0.5315 GB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005086/0.4676, allocations: 2.39 MB / 0.5339 GB, free: 9.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.4676, allocations: 4.375 kB / 0.5339 GB, free: 9.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002762/0.4703, allocations: 1.532 MB / 0.5354 GB, free: 8.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/0.4731, allocations: 0.4993 MB / 0.5358 GB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/0.4886, allocations: 6.216 MB / 0.5419 GB, free: 1.371 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1449/0.6334, allocations: 1.854 MB / 0.5437 GB, free: 118.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001711/0.6351, allocations: 436.8 kB / 0.5441 GB, free: 118.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/0.6356, allocations: 152.6 kB / 0.5443 GB, free: 118.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.774e-06/0.6356, allocations: 0 / 0.5443 GB, free: 118.9 MB / 394.7 MB Notification: Performance of Templates: time 0.05426/0.6898, allocations: 29.68 MB / 0.5733 GB, free: 106.9 MB / 394.7 MB " [Timeout remaining time 659] 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: 6.109900337061845]