Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.001622/0.001622, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.41/1.41, allocations: 230.6 MB / 253.5 MB, free: 14.47 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.001568/0.001568, allocations: 212.7 kB / 310 MB, free: 2.984 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.04081/0.04081, allocations: 8.911 MB / 375.4 MB, free: 6.598 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_VCurve2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_VCurve2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2",fmuType="cs",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.002382/0.002382, allocations: 88.19 kB / 0.4899 GB, free: 44.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08412, allocations: 55.61 MB / 0.5443 GB, free: 5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.2259/0.31, allocations: 21.97 MB / 0.5657 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.3227, allocations: 7.681 MB / 0.5732 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004438/0.3271, allocations: 207.5 kB / 0.5734 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01608/0.3432, allocations: 7.166 MB / 0.5804 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01/0.3532, allocations: 3.107 MB / 0.5834 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006531/0.3597, allocations: 2.018 MB / 0.5854 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0129/0.3726, allocations: 9.399 MB / 0.5946 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01957/0.3922, allocations: 11.42 MB / 0.6057 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008801/0.401, allocations: 4.886 MB / 0.6105 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009192/0.4102, allocations: 5.364 MB / 0.6157 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003281/0.4134, allocations: 1.354 MB / 0.6171 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005839/0.4193, allocations: 1.734 MB / 0.6188 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004567/0.4238, allocations: 2.689 MB / 0.6214 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009642/0.4335, allocations: 3.954 MB / 0.6253 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02223/0.4557, allocations: 18.31 MB / 0.6431 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.4557, allocations: 4 kB / 0.6431 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4557, allocations: 0 / 0.6431 GB, free: 8.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004162/0.4561, allocations: 0 / 0.6431 GB, free: 8.371 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03219/0.4883, allocations: 10.88 MB / 0.6538 GB, free: 13.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.4884, allocations: 19.92 kB / 0.6538 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002949/0.4887, allocations: 248 kB / 0.654 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004273/0.493, allocations: 1.268 MB / 0.6553 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03331/0.5263, allocations: 5.668 MB / 0.6608 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.5403, allocations: 5.852 MB / 0.6665 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007494/0.541, allocations: 0.582 MB / 0.6671 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003164/0.5442, allocations: 0.7655 MB / 0.6678 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03472/0.5789, allocations: 13 MB / 0.6805 GB, free: 1.828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004598/0.5794, allocations: 15.89 kB / 0.6805 GB, free: 1.812 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002738/0.5821, allocations: 324 kB / 0.6808 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006937/0.5828, allocations: 0.4968 MB / 0.6813 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0278/0.6106, allocations: 12.31 MB / 0.6933 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07489/0.6855, allocations: 38.03 MB / 0.7305 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/0.7048, allocations: 8.924 MB / 0.7392 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00539/0.7102, allocations: 2.741 MB / 0.7419 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005087/0.7107, allocations: 99.03 kB / 0.742 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005115/0.7158, allocations: 2.808 MB / 0.7447 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=399): time 9.217e-06/0.7158, allocations: 0 / 0.7447 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=482): time 0.07309/0.7889, allocations: 29.11 MB / 0.7731 GB, free: 2.734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.393/1.182, allocations: 18.33 MB / 0.791 GB, free: 161.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/1.187, allocations: 3.534 MB / 0.7945 GB, free: 160.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007304/1.188, allocations: 105.6 kB / 0.7946 GB, free: 160 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00194/1.19, allocations: 3.5 MB / 0.798 GB, free: 158.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001655/1.191, allocations: 1.703 MB / 0.7997 GB, free: 157.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001911/1.193, allocations: 1.21 MB / 0.8009 GB, free: 156.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.341e-05/1.193, allocations: 307.3 kB / 0.8011 GB, free: 156.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004749/1.198, allocations: 3.032 MB / 0.8041 GB, free: 155.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005755/1.204, allocations: 5.217 MB / 0.8092 GB, free: 151.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.217, allocations: 8.502 MB / 0.8175 GB, free: 145.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001538/1.217, allocations: 15.88 kB / 0.8175 GB, free: 145.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=807) (initialization): time 0.01652/1.233, allocations: 10.16 MB / 0.8274 GB, free: 141.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/1.233, allocations: 58.86 kB / 0.8275 GB, free: 141.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/1.233, allocations: 58.31 kB / 0.8276 GB, free: 141.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00471/1.238, allocations: 1.998 MB / 0.8295 GB, free: 141.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004499/1.243, allocations: 1.328 MB / 0.8308 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/1.263, allocations: 17.85 MB / 0.8482 GB, free: 125.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005548/1.268, allocations: 397.4 kB / 0.8486 GB, free: 124.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/1.27, allocations: 295.9 kB / 0.8489 GB, free: 124.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 690 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(10,48,53.0%), (10,48,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005227/1.275, allocations: 2.991 MB / 0.8518 GB, free: 121.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.276, allocations: 433.2 kB / 0.8522 GB, free: 121.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.288, allocations: 8.191 MB / 0.8602 GB, free: 113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/1.288, allocations: 48 kB / 0.8603 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.288, allocations: 11.98 kB / 0.8603 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.252e-05/1.288, allocations: 27.91 kB / 0.8603 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02996/1.318, allocations: 21.4 MB / 0.8812 GB, free: 91.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/1.318, allocations: 4.031 kB / 0.8812 GB, free: 91.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002774/1.321, allocations: 0.7333 MB / 0.8819 GB, free: 90.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004763/1.326, allocations: 1.926 MB / 0.8838 GB, free: 88.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005472/1.326, allocations: 112.8 kB / 0.8839 GB, free: 88.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/1.345, allocations: 16.56 MB / 0.9001 GB, free: 71.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02116/1.366, allocations: 16.64 MB / 0.9163 GB, free: 54.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/1.381, allocations: 11.38 MB / 0.9275 GB, free: 43.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00227/1.384, allocations: 0.989 MB / 0.9284 GB, free: 42.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008639/1.384, allocations: 87.94 kB / 0.9285 GB, free: 42.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.387, allocations: 227.8 kB / 0.9287 GB, free: 42.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007269/1.388, allocations: 362.1 kB / 0.9291 GB, free: 41.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002497/1.388, allocations: 140 kB / 0.9292 GB, free: 41.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002746/1.391, allocations: 2.367 MB / 0.9315 GB, free: 39.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.391, allocations: 0 / 0.9315 GB, free: 39.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005296/1.396, allocations: 1.699 MB / 0.9332 GB, free: 37.46 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 ($STATESET1.x,smee.rotorCage.port_p.reference.gamma,voltageSource.plug_p.reference.gamma) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (396): * Single equations (assignments): 393 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,40,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,56)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01483/1.411, allocations: 12.12 MB / 0.945 GB, free: 25.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01261/1.423, allocations: 7.97 MB / 0.9528 GB, free: 17.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/1.423, allocations: 4.5 kB / 0.9528 GB, free: 17.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006452/1.43, allocations: 4.104 MB / 0.9568 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00376/1.434, allocations: 0.8561 MB / 0.9576 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2951/1.729, allocations: 54.86 MB / 1.011 GB, free: 183.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006411/1.735, allocations: 4.735 MB / 1.016 GB, free: 182.9 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.004754/1.74, allocations: 1.635 MB / 1.017 GB, free: 182.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003906/1.744, allocations: 2.904 MB / 1.02 GB, free: 182.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.042e-06/1.744, allocations: 2.344 kB / 1.02 GB, free: 182.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1776/1.921, allocations: 139.7 MB / 1.157 GB, free: 63.43 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.17/26.09, allocations: 15.28 kB / 1.157 GB, free: 63.41 MB / 0.5763 GB " [Timeout remaining time 634] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2_fmu --startTime=0 --stopTime=200 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.735365773900412] Failed to read output from testmodel.py, exit status != 0: 26.34385329496581 26.361089394 25.901555751 Calling exit ...