Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07687/0.07687, allocations: 12.59 MB / 28.22 MB, free: 0.7695 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 111.4 kB / 31.84 MB, free: 3.902 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.1 MB / 240.4 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 191.5 kB / 290.7 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4387/0.4387, allocations: 78.51 MB / 419.3 MB, free: 11.28 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 135.2 kB / 0.5554 GB, free: 28.86 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1167, allocations: 68.13 MB / 0.6219 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006197/0.123, allocations: 5.73 MB / 0.6275 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003646/0.1267, allocations: 1.705 MB / 0.6292 GB, free: 8.461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005618/0.1273, allocations: 8 kB / 0.6292 GB, free: 8.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.1278, allocations: 194.3 kB / 0.6294 GB, free: 8.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.1295, allocations: 0.7346 MB / 0.6301 GB, free: 7.527 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.1308, allocations: 0.5611 MB / 0.6306 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.1322, allocations: 1.222 MB / 0.6318 GB, free: 5.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.1326, allocations: 271.1 kB / 0.6321 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006213/0.1332, allocations: 0.5251 MB / 0.6326 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006336/0.1339, allocations: 0.6338 MB / 0.6332 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.134, allocations: 88 kB / 0.6333 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/0.1344, allocations: 219.9 kB / 0.6335 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.1346, allocations: 239 kB / 0.6337 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004147/0.135, allocations: 0.5359 MB / 0.6343 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.1364, allocations: 1.342 MB / 0.6356 GB, free: 1.883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1364, allocations: 0 / 0.6356 GB, free: 1.883 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1364, allocations: 4 kB / 0.6356 GB, free: 1.879 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.1365, allocations: 0 / 0.6356 GB, free: 1.879 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007526/0.144, allocations: 2.359 MB / 0.6379 GB, free: 15.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1441, allocations: 19.98 kB / 0.6379 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.1442, allocations: 114.5 kB / 0.638 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.1492, allocations: 0.7641 MB / 0.6388 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.1504, allocations: 0.7096 MB / 0.6394 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.1506, allocations: 255.5 kB / 0.6397 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.1508, allocations: 64 kB / 0.6398 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.1528, allocations: 0.9472 MB / 0.6407 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1528, allocations: 0 / 0.6407 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/0.1529, allocations: 24 kB / 0.6407 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1529, allocations: 16 kB / 0.6407 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.155, allocations: 0.9694 MB / 0.6417 GB, free: 11.49 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005071/0.1601, allocations: 3.144 MB / 0.6447 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.1622, allocations: 1.319 MB / 0.646 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.1636, allocations: 0.6905 MB / 0.6467 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.244e-05/0.1637, allocations: 16.66 kB / 0.6467 GB, free: 6.051 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1637, allocations: 35.22 kB / 0.6467 GB, free: 6.008 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.385e-06/0.1637, allocations: 4 kB / 0.6467 GB, free: 6.004 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02732/0.1911, allocations: 6.709 MB / 0.6533 GB, free: 15.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.1911, allocations: 67.94 kB / 0.6534 GB, free: 15.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009546/0.1921, allocations: 0.7905 MB / 0.6541 GB, free: 14.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.1923, allocations: 37.7 kB / 0.6542 GB, free: 14.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.1926, allocations: 433.1 kB / 0.6546 GB, free: 13.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.1929, allocations: 305.4 kB / 0.6549 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/0.1933, allocations: 178.5 kB / 0.655 GB, free: 13.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1934, allocations: 341.9 kB / 0.6554 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.1948, allocations: 0.6464 MB / 0.656 GB, free: 12.44 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.1963, allocations: 0.7588 MB / 0.6567 GB, free: 11.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/0.2141, allocations: 4.449 MB / 0.6611 GB, free: 7.164 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.2141, allocations: 0 / 0.6611 GB, free: 7.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01318/0.2273, allocations: 4.044 MB / 0.665 GB, free: 3.109 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.2274, allocations: 4 kB / 0.665 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.2274, allocations: 7.984 kB / 0.6651 GB, free: 3.098 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006213/0.2336, allocations: 1.866 MB / 0.6669 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/0.2345, allocations: 167.7 kB / 0.667 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/0.2555, allocations: 9.092 MB / 0.6759 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.2568, allocations: 151.3 kB / 0.6761 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/0.2569, allocations: 35.98 kB / 0.6761 GB, free: 7.641 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004107/0.2573, allocations: 222.2 kB / 0.6763 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.2575, allocations: 111.3 kB / 0.6764 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/0.2703, allocations: 3.817 MB / 0.6801 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.2704, allocations: 8 kB / 0.6801 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2704, allocations: 0 / 0.6801 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.2704, allocations: 7.984 kB / 0.6802 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.285, allocations: 5.326 MB / 0.6854 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.285, allocations: 0 / 0.6854 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.2856, allocations: 95.75 kB / 0.6854 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005991/0.2916, allocations: 1.745 MB / 0.6871 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.2917, allocations: 12 kB / 0.6872 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.3101, allocations: 8.085 MB / 0.6951 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3101, allocations: 0 / 0.6951 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/0.3244, allocations: 4.693 MB / 0.6996 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.3247, allocations: 196.1 kB / 0.6998 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.3249, allocations: 12 kB / 0.6998 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/0.3258, allocations: 95.95 kB / 0.6999 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004984/0.3263, allocations: 204.5 kB / 0.7001 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/0.3264, allocations: 19.98 kB / 0.7001 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005861/0.327, allocations: 0.5303 MB / 0.7007 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.327, allocations: 0 / 0.7007 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001022/0.328, allocations: 403.7 kB / 0.701 GB, free: 13.72 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01452/0.3425, allocations: 5.269 MB / 0.7062 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006328/0.3489, allocations: 2.31 MB / 0.7084 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3489, allocations: 0 / 0.7084 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004446/0.3534, allocations: 1.523 MB / 0.7099 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007039/0.3541, allocations: 75.3 kB / 0.71 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2677/0.6218, allocations: 13.97 MB / 0.7236 GB, free: 85.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/0.6225, allocations: 1.027 MB / 0.7247 GB, free: 84.53 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.6229, allocations: 73.67 kB / 0.7247 GB, free: 84.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/0.6234, allocations: 377.8 kB / 0.7251 GB, free: 84.27 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.6234, allocations: 0 / 0.7251 GB, free: 84.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07422/0.6976, allocations: 30.62 MB / 0.755 GB, free: 64.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/15.86, allocations: 4 kB / 0.755 GB, free: 64.86 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)