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.001952/0.001952, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.563/1.563, allocations: 230.6 MB / 249.8 MB, free: 9.23 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.001936/0.001936, allocations: 208.6 kB / 306 MB, free: 4.32 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.04486/0.04486, allocations: 8.91 MB / 371 MB, free: 3.465 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.002671/0.002671, allocations: 79.88 kB / 495.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3041, allocations: 55.56 MB / 0.5384 GB, free: 26.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.0142/0.3183, allocations: 16.63 MB / 0.5547 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.3288, allocations: 5.597 MB / 0.5601 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004592/0.3334, allocations: 118 kB / 0.5603 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004808/0.3382, allocations: 1.275 MB / 0.5615 GB, free: 9.863 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.007452/0.3457, allocations: 1.564 MB / 0.563 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00447/0.3501, allocations: 1.027 MB / 0.564 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00714/0.3573, allocations: 4.651 MB / 0.5686 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003735/0.361, allocations: 2.434 MB / 0.5709 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.3644, allocations: 2.113 MB / 0.573 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003835/0.3682, allocations: 2.486 MB / 0.5754 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001359/0.3696, allocations: 0.5598 MB / 0.576 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.3719, allocations: 0.7901 MB / 0.5768 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.3729, allocations: 1.247 MB / 0.578 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003053/0.376, allocations: 2.382 MB / 0.5803 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.3863, allocations: 7.377 MB / 0.5875 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3863, allocations: 9.406 kB / 0.5875 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3863, allocations: 0 / 0.5875 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001887/0.3865, allocations: 0 / 0.5875 GB, free: 10.68 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01697/0.4035, allocations: 4.96 MB / 0.5924 GB, free: 6.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.4036, allocations: 16.02 kB / 0.5924 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002177/0.4057, allocations: 0.5452 MB / 0.5929 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00689/0.4126, allocations: 0.9429 MB / 0.5938 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008196/0.4208, allocations: 2.774 MB / 0.5965 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/0.4212, allocations: 275.8 kB / 0.5968 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.4227, allocations: 367.9 kB / 0.5972 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/0.4365, allocations: 4.688 MB / 0.6017 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/0.4366, allocations: 11.89 kB / 0.6017 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007925/0.4374, allocations: 160 kB / 0.6019 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/0.4376, allocations: 155.3 kB / 0.602 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.4487, allocations: 3.901 MB / 0.6059 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03415/0.4828, allocations: 15.52 MB / 0.621 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007449/0.4903, allocations: 6.221 MB / 0.6271 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/0.4929, allocations: 1.296 MB / 0.6283 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008952/0.5019, allocations: 4.816 MB / 0.633 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.5019, allocations: 43.88 kB / 0.6331 GB, free: 11.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=133): time 3.938e-06/0.5019, allocations: 4 kB / 0.6331 GB, free: 11.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=137): time 0.01177/0.5137, allocations: 5.202 MB / 0.6382 GB, free: 5.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.5138, allocations: 64.72 kB / 0.6382 GB, free: 5.863 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/0.5171, allocations: 2.017 MB / 0.6402 GB, free: 3.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.5172, allocations: 49.7 kB / 0.6403 GB, free: 3.754 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.5187, allocations: 1.724 MB / 0.6419 GB, free: 2.012 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005255/0.5192, allocations: 0.4958 MB / 0.6424 GB, free: 1.512 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006005/0.5198, allocations: 363.4 kB / 0.6428 GB, free: 1.152 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5199, allocations: 309 kB / 0.6431 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.5212, allocations: 0.6598 MB / 0.6437 GB, free: 192 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.523, allocations: 1.38 MB / 0.6451 GB, free: 14.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/0.5263, allocations: 2.199 MB / 0.6472 GB, free: 11.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.5263, allocations: 4 kB / 0.6472 GB, free: 11.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.00459/0.5309, allocations: 2.499 MB / 0.6496 GB, free: 9.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.5309, allocations: 19.98 kB / 0.6497 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/0.5309, allocations: 24 kB / 0.6497 GB, free: 9.367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/0.5313, allocations: 142.1 kB / 0.6498 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.533, allocations: 459.3 kB / 0.6503 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.5354, allocations: 2.115 MB / 0.6523 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.5371, allocations: 87.95 kB / 0.6524 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.5373, allocations: 99.92 kB / 0.6525 GB, free: 6.336 MB / 462.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.001999/0.5393, allocations: 1.056 MB / 0.6535 GB, free: 5.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004438/0.5397, allocations: 230.6 kB / 0.6538 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/0.5436, allocations: 1.997 MB / 0.6557 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.5436, allocations: 16 kB / 0.6557 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.5436, allocations: 4 kB / 0.6557 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.5436, allocations: 3.984 kB / 0.6557 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008704/0.5523, allocations: 4.94 MB / 0.6606 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.5523, allocations: 4 kB / 0.6606 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009905/0.5533, allocations: 203.8 kB / 0.6608 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009284/0.5543, allocations: 326.5 kB / 0.6611 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.5544, allocations: 39.98 kB / 0.6611 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008054/0.5624, allocations: 7.108 MB / 0.668 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5624, allocations: 4.078 kB / 0.668 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005162/0.5676, allocations: 2.892 MB / 0.6709 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.5688, allocations: 451.5 kB / 0.6713 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/0.5691, allocations: 32 kB / 0.6713 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.5702, allocations: 55.95 kB / 0.6714 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.5704, allocations: 109.1 kB / 0.6715 GB, free: 2.156 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.629e-05/0.5705, allocations: 39.98 kB / 0.6715 GB, free: 2.117 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002467/0.573, allocations: 1.351 MB / 0.6728 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.573, allocations: 4 kB / 0.6728 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002726/0.5757, allocations: 0.6054 MB / 0.6734 GB, free: 140 kB / 478.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.005884/0.5816, allocations: 3.516 MB / 0.6769 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003805/0.5854, allocations: 1.808 MB / 0.6786 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.5854, allocations: 4 kB / 0.6786 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002362/0.5877, allocations: 1.165 MB / 0.6798 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/0.592, allocations: 0.5782 MB / 0.6803 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04229/0.6343, allocations: 20.97 MB / 0.7008 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002682/0.6369, allocations: 2.41 MB / 0.7032 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001702/0.6386, allocations: 482.8 kB / 0.7036 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2073/0.8459, allocations: 1.296 MB / 0.7049 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.233e-06/0.8459, allocations: 0.7812 kB / 0.7049 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09476/0.9407, allocations: 53.91 MB / 0.7576 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/15.94, allocations: 0 / 0.7576 GB, free: 111.3 MB / 0.4981 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3_res.csv --start-time 0 --stop-time 0.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.96266853400448] Failed to read output from testmodel.py, exit status != 0: 16.061440438992577 16.07110004 15.682202945 Calling exit ...