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.001513/0.001513, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.412/1.412, allocations: 230.6 MB / 253.4 MB, free: 14.5 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.001499/0.001499, allocations: 216.5 kB / 310 MB, free: 3.137 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.04177/0.04177, allocations: 8.918 MB / 375.4 MB, free: 6.785 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.002408/0.002408, allocations: 83.88 kB / 0.49 GB, free: 44.88 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07422/0.07663, allocations: 55.61 MB / 0.5443 GB, free: 5.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.2079/0.2845, allocations: 25.67 MB / 0.5694 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.2976, allocations: 8.086 MB / 0.5773 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004318/0.3019, allocations: 200.6 kB / 0.5775 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01598/0.3179, allocations: 7.749 MB / 0.585 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009238/0.3271, allocations: 3.183 MB / 0.5882 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005776/0.3329, allocations: 2.09 MB / 0.5902 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.3448, allocations: 9.418 MB / 0.5994 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02191/0.3667, allocations: 11.36 MB / 0.6105 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009069/0.3758, allocations: 4.875 MB / 0.6152 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.3862, allocations: 5.374 MB / 0.6205 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003925/0.3901, allocations: 1.356 MB / 0.6218 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006173/0.3962, allocations: 1.742 MB / 0.6235 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004518/0.4008, allocations: 2.677 MB / 0.6261 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009475/0.4102, allocations: 5.093 MB / 0.6311 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02374/0.434, allocations: 18.22 MB / 0.6489 GB, free: 3.848 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.434, allocations: 3.938 kB / 0.6489 GB, free: 3.844 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.434, allocations: 0 / 0.6489 GB, free: 3.844 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003757/0.4344, allocations: 0 / 0.6489 GB, free: 3.844 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.03201/0.4664, allocations: 10.89 MB / 0.6595 GB, free: 8.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4664, allocations: 15.98 kB / 0.6595 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002632/0.4667, allocations: 248 kB / 0.6598 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00375/0.4704, allocations: 1.264 MB / 0.661 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03552/0.506, allocations: 5.664 MB / 0.6666 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.5184, allocations: 5.856 MB / 0.6723 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005755/0.519, allocations: 0.582 MB / 0.6728 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/0.5214, allocations: 0.7694 MB / 0.6736 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02785/0.5493, allocations: 12.81 MB / 0.6861 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002464/0.5495, allocations: 19.89 kB / 0.6861 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001503/0.551, allocations: 324 kB / 0.6864 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005649/0.5516, allocations: 0.4929 MB / 0.6869 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/0.5762, allocations: 12.31 MB / 0.6989 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07461/0.6508, allocations: 41.45 MB / 0.7394 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01872/0.6696, allocations: 9.037 MB / 0.7482 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004959/0.6745, allocations: 2.734 MB / 0.7509 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/0.6749, allocations: 119 kB / 0.751 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004302/0.6792, allocations: 2.615 MB / 0.7536 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=399): time 5.56e-06/0.6792, allocations: 3.938 kB / 0.7536 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=482): time 0.2546/0.9338, allocations: 29.05 MB / 0.7819 GB, free: 166 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02755/0.9614, allocations: 18.62 MB / 0.8001 GB, free: 156.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004979/0.9664, allocations: 3.533 MB / 0.8036 GB, free: 155.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006277/0.967, allocations: 102.2 kB / 0.8037 GB, free: 155 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001634/0.9686, allocations: 3.498 MB / 0.8071 GB, free: 152.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001256/0.9699, allocations: 1.708 MB / 0.8088 GB, free: 151 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/0.9717, allocations: 1.209 MB / 0.8099 GB, free: 150.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.555e-05/0.9717, allocations: 309.2 kB / 0.8102 GB, free: 150.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004133/0.9759, allocations: 3.004 MB / 0.8132 GB, free: 149 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005131/0.981, allocations: 5.014 MB / 0.8181 GB, free: 145.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009348/0.9903, allocations: 8.499 MB / 0.8264 GB, free: 139.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/0.9905, allocations: 15.81 kB / 0.8264 GB, free: 139.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=807) (initialization): time 0.01713/1.008, allocations: 10.13 MB / 0.8363 GB, free: 135.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/1.008, allocations: 60.75 kB / 0.8363 GB, free: 135.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/1.008, allocations: 62.56 kB / 0.8364 GB, free: 135.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004955/1.013, allocations: 2.002 MB / 0.8384 GB, free: 134.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004617/1.017, allocations: 1.328 MB / 0.8397 GB, free: 134.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/1.039, allocations: 18.17 MB / 0.8574 GB, free: 119.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004669/1.043, allocations: 391.4 kB / 0.8578 GB, free: 119 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006527/1.044, allocations: 297.9 kB / 0.8581 GB, free: 118.7 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.004324/1.048, allocations: 2.984 MB / 0.861 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009371/1.049, allocations: 441.2 kB / 0.8614 GB, free: 115.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.061, allocations: 8.167 MB / 0.8694 GB, free: 107 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/1.061, allocations: 51.94 kB / 0.8694 GB, free: 107 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/1.061, allocations: 12 kB / 0.8694 GB, free: 107 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.746e-05/1.061, allocations: 23.91 kB / 0.8695 GB, free: 107 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02942/1.091, allocations: 22.24 MB / 0.8912 GB, free: 84.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/1.091, allocations: 4 kB / 0.8912 GB, free: 84.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002752/1.094, allocations: 0.7336 MB / 0.8919 GB, free: 83.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00483/1.098, allocations: 1.933 MB / 0.8938 GB, free: 81.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006209/1.099, allocations: 104 kB / 0.8939 GB, free: 81.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/1.119, allocations: 16.87 MB / 0.9104 GB, free: 64.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02127/1.14, allocations: 16.92 MB / 0.9269 GB, free: 47.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/1.156, allocations: 11.32 MB / 0.9379 GB, free: 36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/1.158, allocations: 0.9929 MB / 0.9389 GB, free: 35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008834/1.159, allocations: 87.81 kB / 0.939 GB, free: 34.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/1.162, allocations: 231.8 kB / 0.9392 GB, free: 34.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007619/1.162, allocations: 360 kB / 0.9395 GB, free: 34.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002681/1.163, allocations: 136 kB / 0.9397 GB, free: 34.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002857/1.166, allocations: 2.367 MB / 0.942 GB, free: 31.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.166, allocations: 0 / 0.942 GB, free: 31.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005779/1.171, allocations: 1.703 MB / 0.9437 GB, free: 30.14 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.01592/1.187, allocations: 12.08 MB / 0.9554 GB, free: 17.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01214/1.199, allocations: 7.909 MB / 0.9632 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.199, allocations: 4.438 kB / 0.9632 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006713/1.206, allocations: 4.077 MB / 0.9672 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/1.21, allocations: 0.8365 MB / 0.968 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2851/1.496, allocations: 54.76 MB / 1.021 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005172/1.501, allocations: 5.21 MB / 1.027 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003996/1.505, allocations: 1.638 MB / 1.028 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003798/1.508, allocations: 2.905 MB / 1.031 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/1.508, allocations: 0 / 1.031 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1745/1.683, allocations: 140.7 MB / 1.168 GB, free: 33.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.04/26.72, allocations: 3.938 kB / 1.168 GB, free: 33.43 MB / 0.5606 GB " [Timeout remaining time 633] (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: 30.197660972946323] Failed to read output from testmodel.py, exit status != 0: 26.969672220991924 26.990207784 26.552108001 Calling exit ...