Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.001413/0.001413, allocations: 116.1 kB / 17.17 MB, free: 6 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.411/1.411, allocations: 230.6 MB / 250.5 MB, free: 9.215 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.001511/0.001511, allocations: 220.8 kB / 306.7 MB, free: 4.285 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.04113/0.04113, allocations: 8.905 MB / 371.7 MB, free: 3.43 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_VCurve4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_VCurve4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve4",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.002386/0.002386, allocations: 89.03 kB / 496.5 MB, free: 4.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.103, allocations: 55.58 MB / 0.5391 GB, free: 6.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.0294/0.1324, allocations: 25.59 MB / 0.5641 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01635/0.1487, allocations: 8.065 MB / 0.572 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004397/0.1531, allocations: 203 kB / 0.5722 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01902/0.1721, allocations: 7.731 MB / 0.5797 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.1827, allocations: 3.104 MB / 0.5828 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006312/0.1891, allocations: 2.051 MB / 0.5848 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01375/0.2028, allocations: 9.303 MB / 0.5939 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02361/0.2264, allocations: 12.82 MB / 0.6064 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00831/0.2347, allocations: 4.847 MB / 0.6111 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009489/0.2442, allocations: 5.346 MB / 0.6163 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00443/0.2486, allocations: 1.359 MB / 0.6177 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005997/0.2546, allocations: 1.738 MB / 0.6194 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004316/0.259, allocations: 2.673 MB / 0.622 GB, free: 1.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01059/0.2695, allocations: 5.094 MB / 0.6269 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02467/0.2942, allocations: 18.22 MB / 0.6447 GB, free: 9.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2942, allocations: 0 / 0.6447 GB, free: 9.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2942, allocations: 4 kB / 0.6447 GB, free: 9.812 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004052/0.2946, allocations: 0 / 0.6447 GB, free: 9.812 MB / 462.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.4019/0.6965, allocations: 10.95 MB / 0.6554 GB, free: 90.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6965, allocations: 10.78 kB / 0.6554 GB, free: 90.7 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002587/0.6968, allocations: 245.7 kB / 0.6557 GB, free: 90.66 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003954/0.7008, allocations: 1.272 MB / 0.6569 GB, free: 90.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03379/0.7346, allocations: 5.671 MB / 0.6625 GB, free: 89.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/0.7461, allocations: 5.838 MB / 0.6682 GB, free: 86.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005923/0.7467, allocations: 0.5817 MB / 0.6687 GB, free: 86.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002922/0.7497, allocations: 0.7714 MB / 0.6695 GB, free: 85.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02809/0.7777, allocations: 12.82 MB / 0.682 GB, free: 77.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003414/0.7781, allocations: 15.94 kB / 0.682 GB, free: 77.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002289/0.7804, allocations: 331.4 kB / 0.6823 GB, free: 77.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004345/0.7808, allocations: 0.4929 MB / 0.6828 GB, free: 77.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02265/0.8035, allocations: 12.3 MB / 0.6948 GB, free: 64.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06237/0.8658, allocations: 45.2 MB / 0.739 GB, free: 18.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0203/0.8861, allocations: 24.84 MB / 0.7632 GB, free: 6.734 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005268/0.8914, allocations: 2.745 MB / 0.7659 GB, free: 3.992 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000602/0.892, allocations: 348.6 kB / 0.7662 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004958/0.897, allocations: 2.607 MB / 0.7688 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of pre-optimization done (n=399): time 7.795e-06/0.897, allocations: 0 / 0.7688 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of matching and sorting (n=482): time 0.07229/0.9693, allocations: 29.28 MB / 0.7974 GB, free: 3.691 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03235/1.002, allocations: 18.94 MB / 0.8159 GB, free: 228 kB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005638/1.007, allocations: 3.527 MB / 0.8193 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007081/1.008, allocations: 109.7 kB / 0.8194 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002702/1.011, allocations: 3.498 MB / 0.8228 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002052/1.013, allocations: 1.708 MB / 0.8245 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002097/1.015, allocations: 1.208 MB / 0.8257 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.015, allocations: 305.1 kB / 0.826 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004955/1.02, allocations: 3.003 MB / 0.8289 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006731/1.027, allocations: 5.013 MB / 0.8338 GB, free: 12.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/1.04, allocations: 8.501 MB / 0.8421 GB, free: 3.496 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.028e-05/1.04, allocations: 16 kB / 0.8421 GB, free: 3.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=807) (initialization): time 0.02039/1.06, allocations: 10.13 MB / 0.852 GB, free: 9.25 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.957e-05/1.06, allocations: 53.7 kB / 0.8521 GB, free: 9.191 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-05/1.06, allocations: 64 kB / 0.8521 GB, free: 9.129 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005863/1.066, allocations: 2.016 MB / 0.8541 GB, free: 7.105 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/1.071, allocations: 1.326 MB / 0.8554 GB, free: 5.777 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02915/1.1, allocations: 18.41 MB / 0.8734 GB, free: 3.066 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004994/1.105, allocations: 387.5 kB / 0.8737 GB, free: 2.688 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/1.106, allocations: 299.9 kB / 0.874 GB, free: 2.395 MB / 0.5763 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.2143/1.321, allocations: 2.98 MB / 0.8769 GB, free: 195.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.322, allocations: 435.9 kB / 0.8773 GB, free: 195.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/1.336, allocations: 8.166 MB / 0.8853 GB, free: 195.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/1.336, allocations: 51.91 kB / 0.8854 GB, free: 195.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.84e-05/1.336, allocations: 10.94 kB / 0.8854 GB, free: 195.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.586e-05/1.337, allocations: 25.64 kB / 0.8854 GB, free: 195.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0308/1.367, allocations: 22.6 MB / 0.9075 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.367, allocations: 7.812 kB / 0.9075 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/1.37, allocations: 0.7277 MB / 0.9082 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005067/1.375, allocations: 1.932 MB / 0.9101 GB, free: 185.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005418/1.376, allocations: 107.2 kB / 0.9102 GB, free: 185 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02024/1.396, allocations: 17.07 MB / 0.9269 GB, free: 174.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02161/1.417, allocations: 17.21 MB / 0.9437 GB, free: 157.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01543/1.433, allocations: 11.33 MB / 0.9547 GB, free: 146.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/1.435, allocations: 1.05 MB / 0.9557 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006545/1.436, allocations: 89.75 kB / 0.9558 GB, free: 145.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/1.438, allocations: 222.9 kB / 0.956 GB, free: 145.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007849/1.439, allocations: 344.3 kB / 0.9564 GB, free: 144.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002434/1.439, allocations: 142.5 kB / 0.9565 GB, free: 144.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00273/1.442, allocations: 2.363 MB / 0.9588 GB, free: 142.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.1e-08/1.442, allocations: 7 kB / 0.9588 GB, free: 142.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.005116/1.447, allocations: 1.703 MB / 0.9605 GB, free: 140.6 MB / 0.5763 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.01509/1.462, allocations: 12.05 MB / 0.9723 GB, free: 128.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.473, allocations: 7.928 MB / 0.98 GB, free: 120.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.473, allocations: 0 / 0.98 GB, free: 120.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006683/1.48, allocations: 4.071 MB / 0.984 GB, free: 116.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003891/1.484, allocations: 0.8485 MB / 0.9848 GB, free: 115.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07502/1.559, allocations: 54.65 MB / 1.038 GB, free: 58.76 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004822/1.564, allocations: 5.209 MB / 1.043 GB, free: 53.51 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003827/1.568, allocations: 1.64 MB / 1.045 GB, free: 51.86 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003437/1.571, allocations: 2.901 MB / 1.048 GB, free: 48.96 MB / 0.5763 GB Notification: Performance of SimCode: time 1.192e-06/1.571, allocations: 0 / 1.048 GB, free: 48.96 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3857/1.957, allocations: 135 MB / 1.18 GB, free: 127.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.13/26.08, allocations: 11.81 kB / 1.18 GB, free: 127.8 MB / 0.5763 GB " [Timeout remaining time 634] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve4_fmu --startTime=0 --stopTime=200 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve4.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.073243175982498] Failed to read output from testmodel.py, exit status != 0: 26.30917335097911 26.320685726 26.023794293 Calling exit ...