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.001669/0.001669, allocations: 79.73 kB / 19.76 MB, free: 2.02 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.53/1.53, allocations: 177.2 MB / 200.1 MB, free: 8.359 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.001614/0.001614, allocations: 161.8 kB / 256.6 MB, free: 4.293 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.03951/0.03951, allocations: 6.656 MB / 319.6 MB, free: 5.371 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_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2999,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2999,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 83.86 kB / 446.4 MB, free: 25.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3023, allocations: 55.59 MB / 0.4903 GB, free: 7.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.01745/0.3197, allocations: 14.32 MB / 0.5043 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.3335, allocations: 5.279 MB / 0.5094 GB, free: 9.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003493/0.337, allocations: 113.7 kB / 0.5095 GB, free: 9.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003841/0.3408, allocations: 1.21 MB / 0.5107 GB, free: 8.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006397/0.3472, allocations: 1.589 MB / 0.5123 GB, free: 6.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003487/0.3507, allocations: 1.007 MB / 0.5132 GB, free: 6.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008061/0.3588, allocations: 4.747 MB / 0.5179 GB, free: 1.695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003471/0.3622, allocations: 1.905 MB / 0.5197 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003911/0.3661, allocations: 2.185 MB / 0.5219 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005158/0.3713, allocations: 2.436 MB / 0.5242 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.3728, allocations: 0.5703 MB / 0.5248 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.3751, allocations: 0.781 MB / 0.5256 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.3765, allocations: 1.297 MB / 0.5268 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004213/0.3807, allocations: 1.953 MB / 0.5287 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.3922, allocations: 7.591 MB / 0.5362 GB, free: 14.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.3922, allocations: 0 / 0.5362 GB, free: 14.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3922, allocations: 0 / 0.5362 GB, free: 14.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002647/0.3925, allocations: 0 / 0.5362 GB, free: 14.86 MB / 398.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.01681/0.4093, allocations: 5.038 MB / 0.5411 GB, free: 9.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4094, allocations: 15.92 kB / 0.5411 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/0.4152, allocations: 0.9819 MB / 0.542 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007098/0.4223, allocations: 2.798 MB / 0.5448 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/0.4226, allocations: 275.8 kB / 0.545 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.4239, allocations: 376 kB / 0.5454 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.4349, allocations: 4.931 MB / 0.5502 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.535e-05/0.435, allocations: 7.953 kB / 0.5502 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000407/0.4354, allocations: 152 kB / 0.5504 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/0.4356, allocations: 155.3 kB / 0.5505 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008478/0.444, allocations: 4.038 MB / 0.5545 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0267/0.4707, allocations: 13.29 MB / 0.5674 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005153/0.4759, allocations: 2.732 MB / 0.5701 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003765/0.4797, allocations: 1.811 MB / 0.5719 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007655/0.4873, allocations: 3.658 MB / 0.5754 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.4874, allocations: 47.88 kB / 0.5755 GB, free: 6.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=137): time 5e-06/0.4874, allocations: 0 / 0.5755 GB, free: 6.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.01428/0.5016, allocations: 6.222 MB / 0.5816 GB, free: 15.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.5017, allocations: 72.72 kB / 0.5816 GB, free: 15.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/0.5051, allocations: 2.01 MB / 0.5836 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.5053, allocations: 53.7 kB / 0.5837 GB, free: 13.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001527/0.5068, allocations: 1.809 MB / 0.5854 GB, free: 11.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006343/0.5075, allocations: 0.5694 MB / 0.586 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006394/0.5081, allocations: 412 kB / 0.5864 GB, free: 10.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5083, allocations: 313.1 kB / 0.5867 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.5097, allocations: 0.8359 MB / 0.5875 GB, free: 9.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.5119, allocations: 1.626 MB / 0.5891 GB, free: 7.641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/0.5158, allocations: 2.616 MB / 0.5916 GB, free: 4.684 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/0.5158, allocations: 8 kB / 0.5916 GB, free: 4.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005779/0.5216, allocations: 3.026 MB / 0.5946 GB, free: 1.633 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.5217, allocations: 19.94 kB / 0.5946 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.202e-05/0.5217, allocations: 24 kB / 0.5946 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009697/0.5227, allocations: 346.5 kB / 0.595 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.5246, allocations: 0.4953 MB / 0.5954 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00607/0.5307, allocations: 4.952 MB / 0.6003 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.5326, allocations: 107.9 kB / 0.6004 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.5327, allocations: 99.98 kB / 0.6005 GB, free: 11.39 MB / 462.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.002173/0.5349, allocations: 1.133 MB / 0.6016 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/0.5354, allocations: 226.5 kB / 0.6018 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004359/0.5397, allocations: 2.304 MB / 0.6041 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.5398, allocations: 16 kB / 0.6041 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.5398, allocations: 8.125 kB / 0.6041 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.5398, allocations: 7.969 kB / 0.6041 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008793/0.5486, allocations: 4.849 MB / 0.6088 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.5486, allocations: 4 kB / 0.6088 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.5498, allocations: 279.7 kB / 0.6091 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009559/0.5508, allocations: 350.3 kB / 0.6094 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.5509, allocations: 43.97 kB / 0.6095 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008011/0.5589, allocations: 6.959 MB / 0.6163 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.177e-05/0.5589, allocations: 4.031 kB / 0.6163 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/0.565, allocations: 3.424 MB / 0.6196 GB, free: 7.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.5664, allocations: 410.5 kB / 0.62 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/0.5667, allocations: 32 kB / 0.62 GB, free: 6.906 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.5677, allocations: 67.89 kB / 0.6201 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/0.568, allocations: 121.1 kB / 0.6202 GB, free: 6.719 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.5681, allocations: 51.92 kB / 0.6203 GB, free: 6.668 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002212/0.5704, allocations: 1.315 MB / 0.6215 GB, free: 5.332 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5704, allocations: 0 / 0.6215 GB, free: 5.332 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002554/0.5729, allocations: 0.6484 MB / 0.6222 GB, free: 4.684 MB / 478.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.0003566/0.5733, allocations: 165.5 kB / 0.6223 GB, free: 4.516 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004324/0.5776, allocations: 2.353 MB / 0.6246 GB, free: 2.137 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.5776, allocations: 0 / 0.6246 GB, free: 2.137 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.58, allocations: 1.374 MB / 0.626 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.5824, allocations: 486.5 kB / 0.6264 GB, free: 256 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.5949, allocations: 6.549 MB / 0.6328 GB, free: 9.648 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002616/0.5975, allocations: 1.99 MB / 0.6348 GB, free: 7.625 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001898/0.5994, allocations: 490.5 kB / 0.6352 GB, free: 7.145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.5999, allocations: 156.5 kB / 0.6354 GB, free: 6.992 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5999, allocations: 0 / 0.6354 GB, free: 6.992 MB / 494.1 MB Notification: Performance of Templates: time 0.05872/0.6586, allocations: 29.75 MB / 0.6644 GB, free: 9.629 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.126263074926101] Failed to read output from testmodel.py, exit status != 0: 0.6669014149811119 0.836453641 0.441335128 Calling exit ...