Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.001499/0.001499, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.402/1.402, allocations: 230.6 MB / 253.5 MB, free: 14.29 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.002171/0.002171, allocations: 208.9 kB / 310 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.04036/0.04036, allocations: 8.921 MB / 375.4 MB, free: 6.648 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_VCurve3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_VCurve3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve3",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.002394/0.002394, allocations: 85.61 kB / 0.49 GB, free: 44.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07917/0.08157, allocations: 55.6 MB / 0.5443 GB, free: 5.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.229/0.3106, allocations: 21.97 MB / 0.5657 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.3234, allocations: 7.684 MB / 0.5732 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004882/0.3283, allocations: 203.7 kB / 0.5734 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01601/0.3443, allocations: 7.155 MB / 0.5804 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009708/0.354, allocations: 3.116 MB / 0.5834 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006393/0.3604, allocations: 2.021 MB / 0.5854 GB, free: 5.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01248/0.3729, allocations: 9.401 MB / 0.5946 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02454/0.3974, allocations: 11.44 MB / 0.6058 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00945/0.4069, allocations: 4.879 MB / 0.6105 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009587/0.4164, allocations: 5.359 MB / 0.6158 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003419/0.4199, allocations: 1.355 MB / 0.6171 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005918/0.4258, allocations: 1.734 MB / 0.6188 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004736/0.4305, allocations: 2.692 MB / 0.6214 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008957/0.4395, allocations: 3.95 MB / 0.6253 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02371/0.4632, allocations: 18.31 MB / 0.6431 GB, free: 8.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4632, allocations: 0 / 0.6431 GB, free: 8.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4632, allocations: 0 / 0.6431 GB, free: 8.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003994/0.4636, allocations: 0 / 0.6431 GB, free: 8.41 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.03184/0.4954, allocations: 10.89 MB / 0.6538 GB, free: 13.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4955, allocations: 11.98 kB / 0.6538 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002721/0.4957, allocations: 244 kB / 0.654 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003843/0.4996, allocations: 1.268 MB / 0.6553 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03209/0.5317, allocations: 5.668 MB / 0.6608 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/0.5449, allocations: 5.852 MB / 0.6665 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006253/0.5455, allocations: 0.5781 MB / 0.6671 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003134/0.5486, allocations: 0.7694 MB / 0.6678 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03014/0.5788, allocations: 13 MB / 0.6805 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003269/0.5791, allocations: 15.89 kB / 0.6805 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002167/0.5813, allocations: 324 kB / 0.6808 GB, free: 1.539 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005854/0.5819, allocations: 0.4968 MB / 0.6813 GB, free: 1.039 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02582/0.6077, allocations: 12.31 MB / 0.6933 GB, free: 4.707 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07378/0.6815, allocations: 38.02 MB / 0.7305 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01831/0.6998, allocations: 8.939 MB / 0.7392 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00522/0.705, allocations: 2.738 MB / 0.7419 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004809/0.7055, allocations: 103 kB / 0.742 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005011/0.7105, allocations: 2.8 MB / 0.7447 GB, free: 4 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=399): time 8.787e-06/0.7105, allocations: 0 / 0.7447 GB, free: 4 kB / 0.5137 GB Notification: Performance of matching and sorting (n=482): time 0.0708/0.7813, allocations: 29.12 MB / 0.7731 GB, free: 2.766 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4012/1.182, allocations: 18.33 MB / 0.791 GB, free: 161.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005128/1.188, allocations: 3.534 MB / 0.7945 GB, free: 160.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006457/1.188, allocations: 102.6 kB / 0.7946 GB, free: 160.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001765/1.19, allocations: 3.502 MB / 0.798 GB, free: 158.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001491/1.192, allocations: 1.706 MB / 0.7997 GB, free: 157.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/1.193, allocations: 1.212 MB / 0.8009 GB, free: 156.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.549e-05/1.193, allocations: 309.8 kB / 0.8012 GB, free: 156.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004503/1.198, allocations: 3.027 MB / 0.8041 GB, free: 155.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005387/1.203, allocations: 5.218 MB / 0.8092 GB, free: 151.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.214, allocations: 8.5 MB / 0.8175 GB, free: 145.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/1.214, allocations: 19.84 kB / 0.8175 GB, free: 145.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=807) (initialization): time 0.01978/1.234, allocations: 10.15 MB / 0.8274 GB, free: 141.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/1.234, allocations: 63.33 kB / 0.8275 GB, free: 141.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/1.234, allocations: 61.12 kB / 0.8276 GB, free: 141.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0051/1.239, allocations: 2 MB / 0.8295 GB, free: 141.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004695/1.244, allocations: 1.331 MB / 0.8308 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/1.265, allocations: 17.85 MB / 0.8482 GB, free: 125.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/1.27, allocations: 400.1 kB / 0.8486 GB, free: 124.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.271, allocations: 296.8 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.005115/1.277, allocations: 2.981 MB / 0.8518 GB, free: 121.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/1.278, allocations: 441.2 kB / 0.8522 GB, free: 121.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/1.292, allocations: 8.196 MB / 0.8602 GB, free: 113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/1.292, allocations: 48 kB / 0.8603 GB, free: 113 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.351e-05/1.292, allocations: 12 kB / 0.8603 GB, free: 113 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.52e-05/1.292, allocations: 23.91 kB / 0.8603 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03435/1.327, allocations: 21.4 MB / 0.8812 GB, free: 91.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/1.327, allocations: 4 kB / 0.8812 GB, free: 91.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/1.33, allocations: 0.7294 MB / 0.8819 GB, free: 90.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005085/1.335, allocations: 1.934 MB / 0.8838 GB, free: 88.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006532/1.335, allocations: 110.5 kB / 0.8839 GB, free: 88.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01961/1.355, allocations: 16.56 MB / 0.9001 GB, free: 71.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02122/1.376, allocations: 16.65 MB / 0.9164 GB, free: 54.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01692/1.393, allocations: 11.37 MB / 0.9275 GB, free: 43.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00257/1.396, allocations: 0.9929 MB / 0.9284 GB, free: 42.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/1.397, allocations: 91.94 kB / 0.9285 GB, free: 42.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.4, allocations: 223.8 kB / 0.9287 GB, free: 42.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009244/1.401, allocations: 364.1 kB / 0.9291 GB, free: 41.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003768/1.401, allocations: 132 kB / 0.9292 GB, free: 41.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003514/1.405, allocations: 2.367 MB / 0.9315 GB, free: 39.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/1.405, allocations: 0 / 0.9315 GB, free: 39.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005999/1.411, allocations: 1.711 MB / 0.9332 GB, free: 37.48 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.01654/1.427, allocations: 12.11 MB / 0.945 GB, free: 25.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.44, allocations: 7.973 MB / 0.9528 GB, free: 17.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.44, allocations: 0 / 0.9528 GB, free: 17.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007057/1.447, allocations: 4.099 MB / 0.9568 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005217/1.452, allocations: 0.8441 MB / 0.9576 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3154/1.767, allocations: 54.87 MB / 1.011 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008854/1.776, allocations: 4.74 MB / 1.016 GB, free: 183 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005312/1.781, allocations: 1.634 MB / 1.017 GB, free: 182.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004603/1.786, allocations: 2.904 MB / 1.02 GB, free: 182.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.062e-06/1.786, allocations: 0 / 1.02 GB, free: 182.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/1.964, allocations: 139.7 MB / 1.157 GB, free: 63.51 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.27/26.23, allocations: 8 kB / 1.157 GB, free: 63.5 MB / 0.5763 GB " [Timeout remaining time 634] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve3_fmu --startTime=0 --stopTime=200 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.663104253006168] Failed to read output from testmodel.py, exit status != 0: 26.476119154016487 26.485631555 26.019983097 Calling exit ...