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.001882/0.001882, allocations: 79.75 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.492/1.492, allocations: 177.2 MB / 200.1 MB, free: 8.367 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.001563/0.001563, allocations: 160.1 kB / 256.6 MB, free: 4.27 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.0388/0.0388, allocations: 6.658 MB / 319.6 MB, free: 5.348 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.00397/0.00397, allocations: 83.88 kB / 446.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.123, allocations: 55.57 MB / 0.4903 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.01962/0.1426, allocations: 14.32 MB / 0.5042 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.253/0.3956, allocations: 5.26 MB / 0.5094 GB, free: 40.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003558/0.3992, allocations: 114.3 kB / 0.5095 GB, free: 40.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004411/0.4036, allocations: 1.206 MB / 0.5107 GB, free: 40.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006091/0.4097, allocations: 1.574 MB / 0.5122 GB, free: 40.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.4126, allocations: 1.016 MB / 0.5132 GB, free: 40.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006718/0.4194, allocations: 4.744 MB / 0.5178 GB, free: 40.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.4222, allocations: 1.909 MB / 0.5197 GB, free: 39.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.4256, allocations: 2.173 MB / 0.5218 GB, free: 38.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004299/0.4299, allocations: 2.443 MB / 0.5242 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009401/0.4308, allocations: 0.5697 MB / 0.5248 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.4328, allocations: 0.786 MB / 0.5255 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008672/0.4337, allocations: 1.297 MB / 0.5268 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00231/0.436, allocations: 1.952 MB / 0.5287 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006734/0.4427, allocations: 7.6 MB / 0.5361 GB, free: 32.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.4427, allocations: 2.625 kB / 0.5361 GB, free: 32.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.4427, allocations: 0 / 0.5361 GB, free: 32.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001712/0.4429, allocations: 0 / 0.5361 GB, free: 32.65 MB / 430.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.01462/0.4575, allocations: 5.031 MB / 0.541 GB, free: 30 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4576, allocations: 14.48 kB / 0.541 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005911/0.4635, allocations: 0.9829 MB / 0.542 GB, free: 29.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006909/0.4704, allocations: 2.796 MB / 0.5447 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.4707, allocations: 276.7 kB / 0.545 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001287/0.472, allocations: 367.9 kB / 0.5454 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/0.4886, allocations: 4.933 MB / 0.5502 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/0.4888, allocations: 11.14 kB / 0.5502 GB, free: 25.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/0.49, allocations: 146.5 kB / 0.5503 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002316/0.4902, allocations: 159.9 kB / 0.5505 GB, free: 25.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.5022, allocations: 4.047 MB / 0.5544 GB, free: 24.06 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03975/0.542, allocations: 13.29 MB / 0.5674 GB, free: 16.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005615/0.5476, allocations: 2.728 MB / 0.5701 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003692/0.5513, allocations: 1.81 MB / 0.5718 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007467/0.5587, allocations: 3.67 MB / 0.5754 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.5588, allocations: 53.5 kB / 0.5755 GB, free: 12.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=137): time 3.797e-06/0.5588, allocations: 1.188 kB / 0.5755 GB, free: 12.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.01337/0.5722, allocations: 6.204 MB / 0.5815 GB, free: 8.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.5722, allocations: 78.3 kB / 0.5816 GB, free: 8.543 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003515/0.5757, allocations: 2.003 MB / 0.5836 GB, free: 7.414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.5758, allocations: 56.11 kB / 0.5836 GB, free: 7.359 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000899/0.5767, allocations: 1.802 MB / 0.5854 GB, free: 5.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.5771, allocations: 0.5767 MB / 0.5859 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005923/0.5777, allocations: 412.1 kB / 0.5863 GB, free: 5.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.809e-05/0.5777, allocations: 305.1 kB / 0.5866 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.579, allocations: 0.8392 MB / 0.5874 GB, free: 4.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.5804, allocations: 1.624 MB / 0.589 GB, free: 2.824 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.5831, allocations: 2.619 MB / 0.5916 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.168e-05/0.5832, allocations: 6.25 kB / 0.5916 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005276/0.5884, allocations: 3.033 MB / 0.5946 GB, free: 14.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.5885, allocations: 16.09 kB / 0.5946 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.397e-05/0.5885, allocations: 31.94 kB / 0.5946 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009811/0.5895, allocations: 346.3 kB / 0.5949 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.5914, allocations: 0.4992 MB / 0.5954 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006786/0.5982, allocations: 4.959 MB / 0.6003 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.6003, allocations: 99.83 kB / 0.6004 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/0.6006, allocations: 104 kB / 0.6005 GB, free: 7.98 MB / 446.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.00298/0.6036, allocations: 1.134 MB / 0.6016 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000695/0.6043, allocations: 222.6 kB / 0.6018 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004923/0.6092, allocations: 2.308 MB / 0.604 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.6092, allocations: 16 kB / 0.604 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.6092, allocations: 4 kB / 0.604 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/0.6093, allocations: 11.91 kB / 0.6041 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.6196, allocations: 4.834 MB / 0.6088 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.6196, allocations: 4 kB / 0.6088 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.6209, allocations: 275.8 kB / 0.609 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009957/0.6219, allocations: 358.2 kB / 0.6094 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.622, allocations: 43.92 kB / 0.6094 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008206/0.6302, allocations: 6.95 MB / 0.6162 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.6302, allocations: 4.031 kB / 0.6162 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00629/0.6365, allocations: 3.423 MB / 0.6196 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/0.6378, allocations: 410.4 kB / 0.62 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005375/0.6384, allocations: 43.92 kB / 0.62 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.6396, allocations: 55.97 kB / 0.6201 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.6399, allocations: 129 kB / 0.6202 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.64, allocations: 44.36 kB / 0.6202 GB, free: 3.324 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00244/0.6425, allocations: 1.315 MB / 0.6215 GB, free: 1.988 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6425, allocations: 0 / 0.6215 GB, free: 1.988 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00279/0.6453, allocations: 0.6639 MB / 0.6221 GB, free: 1.324 MB / 462.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.0003776/0.6457, allocations: 173.3 kB / 0.6223 GB, free: 1.148 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004582/0.6502, allocations: 2.344 MB / 0.6246 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.6502, allocations: 0 / 0.6246 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002488/0.6527, allocations: 1.362 MB / 0.6259 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/0.6557, allocations: 491 kB / 0.6264 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/0.67, allocations: 6.549 MB / 0.6328 GB, free: 6.316 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003297/0.6733, allocations: 1.982 MB / 0.6347 GB, free: 4.301 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002038/0.6753, allocations: 498.5 kB / 0.6352 GB, free: 3.812 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/0.6759, allocations: 156.5 kB / 0.6354 GB, free: 3.656 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6759, allocations: 0 / 0.6354 GB, free: 3.656 MB / 478.1 MB Notification: Performance of Templates: time 0.06259/0.7385, allocations: 29.75 MB / 0.6644 GB, free: 6.328 MB / 0.4981 GB " [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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.304513350012712] Failed to read output from testmodel.py, exit status != 0: 0.7511486270232126 0.765388176 0.319127841 Calling exit ...