Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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.001379/0.001379, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.433/1.433, 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.001646/0.001646, allocations: 168.3 kB / 256.6 MB, free: 4.281 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.04001/0.04001, allocations: 6.664 MB / 319.6 MB, free: 5.363 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_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") [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.002568/0.002568, allocations: 87.86 kB / 446.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1103, allocations: 55.58 MB / 0.4903 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01844/0.1288, allocations: 14.44 MB / 0.5044 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2166/0.3454, allocations: 5.286 MB / 0.5096 GB, free: 40.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002798/0.3482, allocations: 120 kB / 0.5097 GB, free: 40.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.3515, allocations: 1.206 MB / 0.5109 GB, free: 40.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.3565, allocations: 1.552 MB / 0.5124 GB, free: 40.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.3593, allocations: 1.012 MB / 0.5134 GB, free: 40.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006129/0.3654, allocations: 4.634 MB / 0.5179 GB, free: 39.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002882/0.3683, allocations: 1.914 MB / 0.5198 GB, free: 39.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004046/0.3723, allocations: 2.114 MB / 0.5218 GB, free: 38.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004776/0.3771, allocations: 2.316 MB / 0.5241 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.3785, allocations: 0.5552 MB / 0.5246 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.381, allocations: 0.7813 MB / 0.5254 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.382, allocations: 1.237 MB / 0.5266 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003248/0.3853, allocations: 1.895 MB / 0.5284 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007297/0.3926, allocations: 7.4 MB / 0.5357 GB, free: 32.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3926, allocations: 0 / 0.5357 GB, free: 32.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3926, allocations: 1.969 kB / 0.5357 GB, free: 32.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001926/0.3928, allocations: 3.438 kB / 0.5357 GB, free: 32.68 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01136/0.4041, allocations: 4.878 MB / 0.5404 GB, free: 30.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4042, allocations: 14.55 kB / 0.5405 GB, free: 30.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.4093, allocations: 0.9472 MB / 0.5414 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005149/0.4144, allocations: 2.683 MB / 0.544 GB, free: 28.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.4146, allocations: 274 kB / 0.5443 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006956/0.4153, allocations: 371.8 kB / 0.5446 GB, free: 28.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007953/0.4232, allocations: 4.841 MB / 0.5493 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.717e-05/0.4233, allocations: 10.7 kB / 0.5494 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003575/0.4237, allocations: 151.9 kB / 0.5495 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.4238, allocations: 153.5 kB / 0.5496 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006947/0.4308, allocations: 3.895 MB / 0.5534 GB, free: 24.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02695/0.4577, allocations: 13.3 MB / 0.5664 GB, free: 16.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005433/0.4631, allocations: 2.517 MB / 0.5689 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.4655, allocations: 1.294 MB / 0.5702 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007596/0.4731, allocations: 3.326 MB / 0.5734 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.4732, allocations: 49.44 kB / 0.5735 GB, free: 12.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 3.667e-06/0.4732, allocations: 0 / 0.5735 GB, free: 12.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.00994/0.4831, allocations: 4.72 MB / 0.5781 GB, free: 10.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.4831, allocations: 69.78 kB / 0.5781 GB, free: 10.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/0.4857, allocations: 1.776 MB / 0.5799 GB, free: 9.266 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.4858, allocations: 47.14 kB / 0.5799 GB, free: 9.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008666/0.4867, allocations: 1.741 MB / 0.5816 GB, free: 7.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.487, allocations: 0.498 MB / 0.5821 GB, free: 7.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004533/0.4875, allocations: 367 kB / 0.5824 GB, free: 7.047 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.4875, allocations: 301.1 kB / 0.5827 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009149/0.4884, allocations: 0.6585 MB / 0.5834 GB, free: 6.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.4897, allocations: 1.412 MB / 0.5848 GB, free: 5.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.492, allocations: 2.196 MB / 0.5869 GB, free: 3.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.492, allocations: 3.75 kB / 0.5869 GB, free: 3.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.003649/0.4956, allocations: 2.409 MB / 0.5893 GB, free: 2.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.4957, allocations: 16.06 kB / 0.5893 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.4957, allocations: 21.09 kB / 0.5893 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.496, allocations: 144.8 kB / 0.5894 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.4975, allocations: 469.9 kB / 0.5899 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.4989, allocations: 1.983 MB / 0.5918 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.5005, allocations: 83.02 kB / 0.5919 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.5007, allocations: 90.16 kB / 0.592 GB, free: 92 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (242): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002068/0.5027, allocations: 1.059 MB / 0.593 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005342/0.5033, allocations: 213.2 kB / 0.5932 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.507, allocations: 1.83 MB / 0.595 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.507, allocations: 16 kB / 0.595 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.507, allocations: 4 kB / 0.595 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.507, allocations: 11.97 kB / 0.595 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008991/0.516, allocations: 4.015 MB / 0.599 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.516, allocations: 0 / 0.599 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009139/0.5169, allocations: 200.9 kB / 0.5991 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008859/0.5178, allocations: 327.7 kB / 0.5995 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.5179, allocations: 39.98 kB / 0.5995 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007763/0.5257, allocations: 6.642 MB / 0.606 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5257, allocations: 0 / 0.606 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004942/0.5306, allocations: 2.722 MB / 0.6086 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.5317, allocations: 342.6 kB / 0.609 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004736/0.5322, allocations: 35.94 kB / 0.609 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.5333, allocations: 51.91 kB / 0.609 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.5336, allocations: 113 kB / 0.6092 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.5337, allocations: 43.98 kB / 0.6092 GB, free: 14.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00221/0.5359, allocations: 1.158 MB / 0.6103 GB, free: 13.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5359, allocations: 0 / 0.6103 GB, free: 13.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002512/0.5384, allocations: 0.5938 MB / 0.6109 GB, free: 13 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * 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 (106): * Single equations (assignments): 103 * 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 {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000359/0.5388, allocations: 173.2 kB / 0.6111 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003194/0.542, allocations: 1.742 MB / 0.6128 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.542, allocations: 0 / 0.6128 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.5439, allocations: 1.173 MB / 0.6139 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.5462, allocations: 483.8 kB / 0.6144 GB, free: 9.395 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.5583, allocations: 6.043 MB / 0.6203 GB, free: 3.297 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002869/0.5611, allocations: 1.861 MB / 0.6221 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001733/0.5629, allocations: 445 kB / 0.6225 GB, free: 0.957 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/0.5634, allocations: 136.5 kB / 0.6227 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5634, allocations: 0 / 0.6227 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of Templates: time 0.05478/0.6181, allocations: 26.35 MB / 0.6484 GB, free: 6.895 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.976608422002755] Failed to read output from testmodel.py, exit status != 0: 0.6277655640151352 0.6444993910000001 0.248340057 Calling exit ...