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.001983/0.001983, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.525/1.525, allocations: 230.6 MB / 252.7 MB, free: 8.105 MB / 206.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.001666/0.001666, allocations: 208.7 kB / 309.2 MB, free: 3.012 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.04329/0.04329, allocations: 8.92 MB / 374.6 MB, free: 1.777 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: 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.002739/0.002739, allocations: 83.88 kB / 0.4896 GB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2925, allocations: 55.61 MB / 0.5439 GB, free: 26.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.01443/0.3069, allocations: 14.29 MB / 0.5579 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009353/0.3163, allocations: 5.28 MB / 0.5631 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.3188, allocations: 114.9 kB / 0.5632 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003619/0.3225, allocations: 1.209 MB / 0.5643 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.3278, allocations: 1.584 MB / 0.5659 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.3308, allocations: 1.01 MB / 0.5669 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006856/0.3377, allocations: 4.749 MB / 0.5715 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003709/0.3414, allocations: 1.908 MB / 0.5734 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.3452, allocations: 2.174 MB / 0.5755 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006426/0.3517, allocations: 2.444 MB / 0.5779 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002152/0.3538, allocations: 0.5681 MB / 0.5784 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004718/0.3585, allocations: 0.7815 MB / 0.5792 GB, free: 5.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002574/0.3611, allocations: 1.299 MB / 0.5805 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00556/0.3667, allocations: 1.95 MB / 0.5824 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.3789, allocations: 7.595 MB / 0.5898 GB, free: 13.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3789, allocations: 0 / 0.5898 GB, free: 13.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3789, allocations: 0 / 0.5898 GB, free: 13.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002627/0.3792, allocations: 0 / 0.5898 GB, free: 13.79 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.01586/0.395, allocations: 5.046 MB / 0.5947 GB, free: 8.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3951, allocations: 8.031 kB / 0.5947 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005457/0.4005, allocations: 0.978 MB / 0.5957 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006921/0.4075, allocations: 2.798 MB / 0.5984 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.4077, allocations: 283.8 kB / 0.5987 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009785/0.4087, allocations: 364.1 kB / 0.599 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.4192, allocations: 4.927 MB / 0.6038 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.443e-05/0.4193, allocations: 3.953 kB / 0.6039 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000386/0.4197, allocations: 156 kB / 0.604 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002322/0.4199, allocations: 151.4 kB / 0.6041 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009316/0.4292, allocations: 4.05 MB / 0.6081 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02947/0.4587, allocations: 13.28 MB / 0.6211 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00559/0.4643, allocations: 2.74 MB / 0.6237 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003998/0.4683, allocations: 1.807 MB / 0.6255 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008724/0.477, allocations: 3.657 MB / 0.6291 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.4771, allocations: 47.88 kB / 0.6291 GB, free: 4.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=137): time 4.418e-06/0.4771, allocations: 0 / 0.6291 GB, free: 4.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.01576/0.4928, allocations: 6.215 MB / 0.6352 GB, free: 14.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.4929, allocations: 64.72 kB / 0.6353 GB, free: 14.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/0.4967, allocations: 2.014 MB / 0.6372 GB, free: 12.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002803/0.4969, allocations: 49.7 kB / 0.6373 GB, free: 12.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.4985, allocations: 1.801 MB / 0.639 GB, free: 10.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007866/0.4993, allocations: 0.5772 MB / 0.6396 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007474/0.5, allocations: 416 kB / 0.64 GB, free: 9.727 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5002, allocations: 301.1 kB / 0.6403 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.5018, allocations: 0.8477 MB / 0.6411 GB, free: 8.578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.5041, allocations: 1.619 MB / 0.6427 GB, free: 6.605 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004063/0.5081, allocations: 2.612 MB / 0.6452 GB, free: 3.652 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/0.5082, allocations: 8 kB / 0.6452 GB, free: 3.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00586/0.514, allocations: 3.03 MB / 0.6482 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.514, allocations: 16 kB / 0.6482 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/0.5141, allocations: 24 kB / 0.6482 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009921/0.5151, allocations: 346.9 kB / 0.6486 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.5171, allocations: 0.4992 MB / 0.6491 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006338/0.5234, allocations: 4.969 MB / 0.6539 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.5256, allocations: 103.9 kB / 0.654 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.5259, allocations: 108 kB / 0.6541 GB, free: 10.33 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.002477/0.5283, allocations: 1.126 MB / 0.6552 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000622/0.529, allocations: 234.6 kB / 0.6554 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004879/0.5338, allocations: 2.304 MB / 0.6577 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.5339, allocations: 20 kB / 0.6577 GB, free: 6.617 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.5339, allocations: 7.938 kB / 0.6577 GB, free: 6.609 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.5339, allocations: 7.969 kB / 0.6577 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/0.5453, allocations: 4.852 MB / 0.6625 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.5453, allocations: 7.938 kB / 0.6625 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.5465, allocations: 259.7 kB / 0.6627 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.5476, allocations: 366.3 kB / 0.6631 GB, free: 1.047 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.5477, allocations: 39.98 kB / 0.6631 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008539/0.5563, allocations: 6.952 MB / 0.6699 GB, free: 9.754 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5563, allocations: 0 / 0.6699 GB, free: 9.754 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006614/0.5629, allocations: 3.424 MB / 0.6732 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/0.5646, allocations: 414.4 kB / 0.6736 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005429/0.5651, allocations: 32 kB / 0.6737 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.5664, allocations: 67.95 kB / 0.6737 GB, free: 5.781 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003455/0.5667, allocations: 129 kB / 0.6739 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.5668, allocations: 39.98 kB / 0.6739 GB, free: 5.613 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002392/0.5692, allocations: 1.315 MB / 0.6752 GB, free: 4.277 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5692, allocations: 0 / 0.6752 GB, free: 4.277 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003074/0.5723, allocations: 0.6562 MB / 0.6758 GB, free: 3.621 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.0004131/0.5727, allocations: 169.7 kB / 0.676 GB, free: 3.449 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004532/0.5773, allocations: 2.345 MB / 0.6783 GB, free: 1.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5773, allocations: 4 kB / 0.6783 GB, free: 1.074 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002454/0.5797, allocations: 1.367 MB / 0.6796 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/0.5834, allocations: 484.4 kB / 0.6801 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.6013, allocations: 6.549 MB / 0.6865 GB, free: 8.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003664/0.605, allocations: 1.982 MB / 0.6884 GB, free: 6.578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00274/0.6077, allocations: 0.4946 MB / 0.6889 GB, free: 6.082 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/0.6083, allocations: 151.4 kB / 0.689 GB, free: 5.938 MB / 494.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6083, allocations: 3.938 kB / 0.689 GB, free: 5.934 MB / 494.1 MB Notification: Performance of Templates: time 0.3916/0.9999, allocations: 34.09 MB / 0.7223 GB, free: 109.8 MB / 494.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: 6.501036448404193] Failed to read output from testmodel.py, exit status != 0: 1.0101885218173265 1.021257695 0.6395624400000001 Calling exit ...