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.0007934/0.0007934, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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 0.8342/0.8342, allocations: 177.2 MB / 200.2 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] 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.0009921/0.0009921, allocations: 160.6 kB / 256.7 MB, free: 13.34 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.02175/0.02175, allocations: 6.661 MB / 319.8 MB, free: 26.78 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_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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 446.7 MB, free: 37.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.019e-05, allocations: 4.531 kB / 446.7 MB, free: 37.05 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.008349/0.008369, allocations: 14.46 MB / 461.2 MB, free: 22.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008363/0.01673, allocations: 5.286 MB / 466.5 MB, free: 17.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.01908, allocations: 119.4 kB / 466.6 MB, free: 17.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.02091, allocations: 1.223 MB / 467.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.02295, allocations: 1.602 MB / 469.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.02407, allocations: 1.025 MB / 470.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.02636, allocations: 4.857 MB / 475.3 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.02769, allocations: 1.92 MB / 477.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.02948, allocations: 3.115 MB / 480.3 MB, free: 3.242 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.03069, allocations: 1.936 MB / 482.3 MB, free: 1.301 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003296/0.03102, allocations: 0.5625 MB / 482.8 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007242/0.03175, allocations: 0.7808 MB / 483.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006215/0.03237, allocations: 1.27 MB / 484.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.0334, allocations: 1.621 MB / 486.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00449/0.03789, allocations: 7.42 MB / 493.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.03789, allocations: 0 / 493.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.03789, allocations: 0 / 493.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.032e-05/0.03793, allocations: 0 / 493.9 MB, free: 5.617 MB / 346.7 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.005702/0.04364, allocations: 4.835 MB / 498.8 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.04367, allocations: 8.031 kB / 498.8 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/0.04627, allocations: 0.9429 MB / 499.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.04916, allocations: 2.678 MB / 0.4906 GB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.04929, allocations: 279.7 kB / 0.4909 GB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003329/0.04962, allocations: 364.3 kB / 0.4912 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004884/0.0545, allocations: 4.839 MB / 0.496 GB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.129e-05/0.05457, allocations: 15.89 kB / 0.496 GB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.05479, allocations: 152 kB / 0.4961 GB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-05/0.05488, allocations: 155.3 kB / 0.4963 GB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003979/0.05886, allocations: 3.901 MB / 0.5001 GB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.07087, allocations: 13.3 MB / 0.5131 GB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.07354, allocations: 2.512 MB / 0.5155 GB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.07492, allocations: 1.285 MB / 0.5168 GB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003677/0.0786, allocations: 3.335 MB / 0.52 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.07863, allocations: 55.86 kB / 0.5201 GB, free: 14.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=133): time 2.585e-06/0.07863, allocations: 0 / 0.5201 GB, free: 14.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=137): time 0.005515/0.08414, allocations: 4.719 MB / 0.5247 GB, free: 9.652 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.08418, allocations: 68.72 kB / 0.5248 GB, free: 9.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.08567, allocations: 1.77 MB / 0.5265 GB, free: 7.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.08573, allocations: 53.7 kB / 0.5265 GB, free: 7.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006844/0.08641, allocations: 1.73 MB / 0.5282 GB, free: 5.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.08664, allocations: 0.4919 MB / 0.5287 GB, free: 5.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/0.08696, allocations: 363.4 kB / 0.5291 GB, free: 5.141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.105e-05/0.08702, allocations: 301.1 kB / 0.5293 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008044/0.08782, allocations: 0.6637 MB / 0.53 GB, free: 4.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009587/0.08878, allocations: 1.405 MB / 0.5314 GB, free: 2.438 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.09052, allocations: 2.191 MB / 0.5335 GB, free: 15.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.09053, allocations: 8 kB / 0.5335 GB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.00229/0.09282, allocations: 2.404 MB / 0.5359 GB, free: 13.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.09284, allocations: 16 kB / 0.5359 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.09286, allocations: 24.03 kB / 0.5359 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.09308, allocations: 149.6 kB / 0.536 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.09412, allocations: 459.2 kB / 0.5365 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.09532, allocations: 1.977 MB / 0.5384 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.09592, allocations: 87.89 kB / 0.5385 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.479e-05/0.096, allocations: 96.03 kB / 0.5386 GB, free: 10.6 MB / 410.7 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.001099/0.0971, allocations: 1.055 MB / 0.5396 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.09726, allocations: 210.6 kB / 0.5398 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.09917, allocations: 1.825 MB / 0.5416 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.09917, allocations: 15.94 kB / 0.5416 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.09918, allocations: 4 kB / 0.5416 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.09919, allocations: 7.984 kB / 0.5416 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/0.1034, allocations: 4.025 MB / 0.5456 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1034, allocations: 4 kB / 0.5456 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.1038, allocations: 207.8 kB / 0.5458 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.1043, allocations: 325.1 kB / 0.5461 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.1043, allocations: 35.98 kB / 0.5461 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004067/0.1084, allocations: 6.63 MB / 0.5526 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1084, allocations: 4.125 kB / 0.5526 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.1109, allocations: 2.715 MB / 0.5552 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.1113, allocations: 346.6 kB / 0.5556 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.1114, allocations: 39.92 kB / 0.5556 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.1118, allocations: 47.97 kB / 0.5556 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.1119, allocations: 113 kB / 0.5558 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.112, allocations: 39.98 kB / 0.5558 GB, free: 8.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009817/0.113, allocations: 1.154 MB / 0.5569 GB, free: 7.355 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.113, allocations: 0 / 0.5569 GB, free: 7.355 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001403/0.1144, allocations: 0.6015 MB / 0.5575 GB, free: 6.754 MB / 426.7 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.0002341/0.1146, allocations: 166.8 kB / 0.5577 GB, free: 6.586 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.1163, allocations: 1.742 MB / 0.5594 GB, free: 4.832 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1163, allocations: 0 / 0.5594 GB, free: 4.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000985/0.1173, allocations: 1.171 MB / 0.5605 GB, free: 3.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.1184, allocations: 488 kB / 0.561 GB, free: 3.145 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1268/0.2453, allocations: 5.868 MB / 0.5667 GB, free: 118 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.2466, allocations: 1.806 MB / 0.5685 GB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/0.247, allocations: 154.7 kB / 0.5686 GB, free: 117.8 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.247, allocations: 0 / 0.5686 GB, free: 117.8 MB / 426.7 MB Notification: Performance of Templates: time 0.03935/0.2864, allocations: 85.58 MB / 0.6522 GB, free: 37.6 MB / 426.7 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.225623020902276] Failed to read output from testmodel.py, exit status != 0: 0.29128823056817055 0.2980417 0.258791751 Calling exit ...