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.001273/0.001273, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.478/1.478, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001761/0.001761, allocations: 210.1 kB / 309.2 MB, free: 3.09 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.04062/0.04062, allocations: 8.914 MB / 374.6 MB, free: 6.578 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) [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.002964/0.002964, allocations: 91.86 kB / 0.4892 GB, free: 44.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08397/0.08693, allocations: 55.6 MB / 0.5435 GB, free: 4.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01774/0.1047, allocations: 14.43 MB / 0.5576 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.115, allocations: 5.298 MB / 0.5628 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.1173, allocations: 119.3 kB / 0.5629 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2202/0.3375, allocations: 1.202 MB / 0.5641 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004801/0.3423, allocations: 1.547 MB / 0.5656 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.3449, allocations: 1.013 MB / 0.5666 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005692/0.3506, allocations: 4.632 MB / 0.5711 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003009/0.3536, allocations: 1.912 MB / 0.573 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003853/0.3575, allocations: 2.121 MB / 0.575 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005168/0.3627, allocations: 2.315 MB / 0.5773 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001856/0.3645, allocations: 0.5595 MB / 0.5778 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/0.3682, allocations: 0.7674 MB / 0.5786 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.3696, allocations: 1.248 MB / 0.5798 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004435/0.3741, allocations: 1.892 MB / 0.5816 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008472/0.3825, allocations: 7.403 MB / 0.5889 GB, free: 4.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3826, allocations: 5.031 kB / 0.5889 GB, free: 4.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3826, allocations: 0 / 0.5889 GB, free: 4.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001689/0.3827, allocations: 0 / 0.5889 GB, free: 4.125 MB / 382.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.0112/0.3939, allocations: 4.873 MB / 0.5936 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.394, allocations: 17.73 kB / 0.5937 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008565/0.3948, allocations: 0.5526 MB / 0.5942 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004734/0.3996, allocations: 0.9472 MB / 0.5951 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007/0.4066, allocations: 2.688 MB / 0.5977 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.4069, allocations: 273.5 kB / 0.598 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000979/0.4078, allocations: 371 kB / 0.5984 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008856/0.4167, allocations: 4.845 MB / 0.6031 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.151e-05/0.4168, allocations: 2.75 kB / 0.6031 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003561/0.4171, allocations: 147.6 kB / 0.6032 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/0.4173, allocations: 159.4 kB / 0.6034 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006503/0.4238, allocations: 3.899 MB / 0.6072 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02387/0.4477, allocations: 13.82 MB / 0.6207 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004758/0.4524, allocations: 2.518 MB / 0.6232 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002337/0.4548, allocations: 1.294 MB / 0.6244 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007312/0.4621, allocations: 3.36 MB / 0.6277 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.4621, allocations: 51.81 kB / 0.6277 GB, free: 4.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.346e-06/0.4621, allocations: 0 / 0.6277 GB, free: 4.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01067/0.4728, allocations: 4.744 MB / 0.6324 GB, free: 15.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.4729, allocations: 70.27 kB / 0.6324 GB, free: 15.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/0.4761, allocations: 2.044 MB / 0.6344 GB, free: 13.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.4762, allocations: 49.7 kB / 0.6345 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.4776, allocations: 1.722 MB / 0.6362 GB, free: 11.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.4781, allocations: 0.4945 MB / 0.6367 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005472/0.4786, allocations: 367.3 kB / 0.637 GB, free: 10.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4787, allocations: 309.1 kB / 0.6373 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.4798, allocations: 0.6559 MB / 0.6379 GB, free: 9.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.4816, allocations: 1.41 MB / 0.6393 GB, free: 8.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.4847, allocations: 2.194 MB / 0.6415 GB, free: 5.711 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.4847, allocations: 11.94 kB / 0.6415 GB, free: 5.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004273/0.4889, allocations: 2.408 MB / 0.6438 GB, free: 3.277 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.489, allocations: 19.92 kB / 0.6438 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/0.489, allocations: 27.98 kB / 0.6439 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/0.4894, allocations: 141.6 kB / 0.644 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.4911, allocations: 467.5 kB / 0.6445 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.4932, allocations: 2.008 MB / 0.6464 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.495, allocations: 83.89 kB / 0.6465 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.4951, allocations: 91.98 kB / 0.6466 GB, free: 348 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.002127/0.4973, allocations: 1.068 MB / 0.6476 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/0.4977, allocations: 222.6 kB / 0.6478 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003435/0.5011, allocations: 1.847 MB / 0.6496 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.5012, allocations: 19.98 kB / 0.6497 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.5012, allocations: 8 kB / 0.6497 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.5012, allocations: 4.172 kB / 0.6497 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008234/0.5094, allocations: 4.468 MB / 0.654 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.5094, allocations: 3.938 kB / 0.654 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009156/0.5103, allocations: 211.7 kB / 0.6542 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008985/0.5112, allocations: 323.4 kB / 0.6545 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-05/0.5113, allocations: 43.92 kB / 0.6546 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007741/0.5191, allocations: 6.703 MB / 0.6611 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5191, allocations: 4.031 kB / 0.6611 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004815/0.5239, allocations: 2.747 MB / 0.6638 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/0.5256, allocations: 370.5 kB / 0.6642 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006693/0.5263, allocations: 31.98 kB / 0.6642 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5273, allocations: 51.97 kB / 0.6643 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.5276, allocations: 109 kB / 0.6644 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.659e-05/0.5277, allocations: 47.98 kB / 0.6644 GB, free: 13.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002452/0.5301, allocations: 1.348 MB / 0.6657 GB, free: 12.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5301, allocations: 0 / 0.6657 GB, free: 12.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002827/0.533, allocations: 0.6054 MB / 0.6663 GB, free: 11.62 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.005007/0.538, allocations: 3.358 MB / 0.6696 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003166/0.5411, allocations: 1.741 MB / 0.6713 GB, free: 6.449 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5411, allocations: 4 kB / 0.6713 GB, free: 6.445 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001846/0.543, allocations: 1.168 MB / 0.6724 GB, free: 5.242 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.5458, allocations: 0.5766 MB / 0.673 GB, free: 4.668 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03783/0.5836, allocations: 20.83 MB / 0.6933 GB, free: 14.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003167/0.5868, allocations: 1.858 MB / 0.6952 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001783/0.5885, allocations: 478.8 kB / 0.6956 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/0.5906, allocations: 1.3 MB / 0.6969 GB, free: 11.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.653e-06/0.5906, allocations: 0 / 0.6969 GB, free: 11.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/0.7105, allocations: 56.58 MB / 0.7521 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.8, allocations: 7.062 kB / 0.7521 GB, free: 3.266 MB / 0.5294 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.011587399989367] Failed to read output from testmodel.py, exit status != 0: 13.947872267104685 13.964591148 13.578457154 Calling exit ...