Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.001286/0.001286, 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.422/1.422, allocations: 230.6 MB / 253.5 MB, free: 14.3 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.001521/0.001521, allocations: 211.4 kB / 310 MB, free: 3.078 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.04088/0.04088, allocations: 8.918 MB / 375.4 MB, free: 6.605 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_VCurve1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_VCurve1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1",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.002714/0.002714, allocations: 93.73 kB / 0.4899 GB, free: 44.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08306/0.08577, allocations: 55.6 MB / 0.5442 GB, free: 5.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.2439/0.3297, allocations: 21.96 MB / 0.5657 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.3442, allocations: 7.683 MB / 0.5732 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005037/0.3492, allocations: 200.2 kB / 0.5734 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01653/0.3658, allocations: 7.164 MB / 0.5804 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.3765, allocations: 3.108 MB / 0.5834 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005993/0.3825, allocations: 2.009 MB / 0.5854 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01217/0.3946, allocations: 9.402 MB / 0.5945 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02008/0.4147, allocations: 11.4 MB / 0.6057 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01021/0.4249, allocations: 4.886 MB / 0.6104 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009776/0.4347, allocations: 5.368 MB / 0.6157 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003601/0.4383, allocations: 1.357 MB / 0.617 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006636/0.4449, allocations: 1.738 MB / 0.6187 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00464/0.4496, allocations: 2.673 MB / 0.6213 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008276/0.4578, allocations: 3.965 MB / 0.6252 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02344/0.4813, allocations: 18.3 MB / 0.6431 GB, free: 8.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4813, allocations: 3.938 kB / 0.6431 GB, free: 8.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4813, allocations: 0 / 0.6431 GB, free: 8.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000477/0.4818, allocations: 0 / 0.6431 GB, free: 8.633 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.03203/0.5138, allocations: 10.89 MB / 0.6537 GB, free: 13.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5139, allocations: 15.98 kB / 0.6537 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002877/0.5141, allocations: 244 kB / 0.6539 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003908/0.518, allocations: 1.268 MB / 0.6552 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03271/0.5508, allocations: 5.663 MB / 0.6607 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.013/0.5638, allocations: 5.852 MB / 0.6664 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006109/0.5644, allocations: 0.5859 MB / 0.667 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/0.5677, allocations: 0.7694 MB / 0.6678 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03259/0.6003, allocations: 12.99 MB / 0.6804 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002673/0.6006, allocations: 15.89 kB / 0.6805 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001968/0.6026, allocations: 332 kB / 0.6808 GB, free: 1.746 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005685/0.6031, allocations: 0.4928 MB / 0.6813 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02588/0.629, allocations: 12.3 MB / 0.6933 GB, free: 4.926 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07106/0.7001, allocations: 38.03 MB / 0.7304 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/0.7175, allocations: 8.939 MB / 0.7391 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004773/0.7223, allocations: 2.734 MB / 0.7418 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/0.7226, allocations: 99.03 kB / 0.7419 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004402/0.727, allocations: 2.812 MB / 0.7446 GB, free: 216 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=399): time 8.105e-06/0.7271, allocations: 0 / 0.7446 GB, free: 216 kB / 0.5137 GB Notification: Performance of matching and sorting (n=482): time 0.06882/0.7959, allocations: 29.11 MB / 0.7731 GB, free: 2.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4157/1.212, allocations: 18.31 MB / 0.791 GB, free: 161.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005529/1.217, allocations: 3.537 MB / 0.7944 GB, free: 160.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007266/1.218, allocations: 102.3 kB / 0.7945 GB, free: 160.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001951/1.22, allocations: 3.499 MB / 0.7979 GB, free: 158.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001727/1.222, allocations: 1.704 MB / 0.7996 GB, free: 157.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002204/1.224, allocations: 1.216 MB / 0.8008 GB, free: 157 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.589e-05/1.224, allocations: 305.8 kB / 0.8011 GB, free: 156.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005328/1.229, allocations: 3.031 MB / 0.804 GB, free: 155.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006414/1.236, allocations: 5.215 MB / 0.8091 GB, free: 151.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.247, allocations: 8.501 MB / 0.8174 GB, free: 146.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001351/1.247, allocations: 22.16 kB / 0.8174 GB, free: 146.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=807) (initialization): time 0.01727/1.264, allocations: 10.16 MB / 0.8274 GB, free: 142 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.523e-05/1.264, allocations: 59.33 kB / 0.8274 GB, free: 142 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/1.264, allocations: 61.2 kB / 0.8275 GB, free: 142 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005126/1.269, allocations: 1.995 MB / 0.8294 GB, free: 141.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005054/1.274, allocations: 1.334 MB / 0.8307 GB, free: 141.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/1.295, allocations: 17.86 MB / 0.8482 GB, free: 125.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004974/1.3, allocations: 387.4 kB / 0.8485 GB, free: 125.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/1.301, allocations: 307.9 kB / 0.8488 GB, free: 125 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.004577/1.306, allocations: 2.979 MB / 0.8517 GB, free: 122.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009934/1.307, allocations: 437.2 kB / 0.8522 GB, free: 121.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/1.319, allocations: 8.192 MB / 0.8602 GB, free: 113.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/1.319, allocations: 51.98 kB / 0.8602 GB, free: 113.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/1.319, allocations: 16 kB / 0.8602 GB, free: 113.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-05/1.319, allocations: 27.52 kB / 0.8603 GB, free: 113.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03267/1.352, allocations: 21.4 MB / 0.8811 GB, free: 91.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/1.352, allocations: 4 kB / 0.8812 GB, free: 91.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002706/1.355, allocations: 0.7333 MB / 0.8819 GB, free: 91.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004912/1.36, allocations: 1.93 MB / 0.8838 GB, free: 89.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006144/1.36, allocations: 107.9 kB / 0.8839 GB, free: 89.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01963/1.38, allocations: 16.57 MB / 0.9 GB, free: 72.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0213/1.401, allocations: 16.64 MB / 0.9163 GB, free: 55.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/1.418, allocations: 11.38 MB / 0.9274 GB, free: 43.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002634/1.421, allocations: 0.9851 MB / 0.9284 GB, free: 42.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/1.422, allocations: 95.92 kB / 0.9284 GB, free: 42.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003044/1.425, allocations: 227.8 kB / 0.9287 GB, free: 42.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009934/1.426, allocations: 360.1 kB / 0.929 GB, free: 42.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004525/1.427, allocations: 132.2 kB / 0.9291 GB, free: 41.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003768/1.43, allocations: 2.367 MB / 0.9314 GB, free: 39.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.43, allocations: 0 / 0.9314 GB, free: 39.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006803/1.437, allocations: 1.703 MB / 0.9331 GB, free: 37.89 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.01703/1.454, allocations: 12.13 MB / 0.945 GB, free: 25.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01322/1.468, allocations: 7.973 MB / 0.9527 GB, free: 17.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/1.468, allocations: 0 / 0.9527 GB, free: 17.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007213/1.475, allocations: 4.093 MB / 0.9567 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005278/1.48, allocations: 0.845 MB / 0.9576 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3297/1.81, allocations: 54.86 MB / 1.011 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009217/1.819, allocations: 4.735 MB / 1.016 GB, free: 183 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005271/1.824, allocations: 1.637 MB / 1.017 GB, free: 182.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004628/1.829, allocations: 2.901 MB / 1.02 GB, free: 182.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.313e-06/1.829, allocations: 0 / 1.02 GB, free: 182.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2098/2.039, allocations: 139.7 MB / 1.157 GB, free: 63.75 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.13/26.17, allocations: 4 kB / 1.157 GB, free: 63.75 MB / 0.5763 GB " [Timeout remaining time 634] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_fmu --startTime=0 --stopTime=200 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.892897065961733] Failed to read output from testmodel.py, exit status != 0: 26.4225089129759 26.440813559 25.955729749 Calling exit ...