Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005155/0.00516, allocations: 100 kB / 15.73 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 239.4 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001434, allocations: 200.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4839/0.4839, allocations: 91.9 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 79.25 kB / 0.5723 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1295, allocations: 71.28 MB / 0.6419 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006573/0.1361, allocations: 6.466 MB / 0.6482 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.1396, allocations: 1.853 MB / 0.65 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000538/0.1402, allocations: 19.88 kB / 0.65 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.1407, allocations: 222 kB / 0.6502 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.1424, allocations: 0.7718 MB / 0.651 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.1437, allocations: 0.6115 MB / 0.6516 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.1454, allocations: 1.417 MB / 0.653 GB, free: 8.688 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.1459, allocations: 327.2 kB / 0.6533 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008025/0.1467, allocations: 0.595 MB / 0.6539 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007135/0.1475, allocations: 0.7232 MB / 0.6546 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.1476, allocations: 104 kB / 0.6547 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.1481, allocations: 235.9 kB / 0.6549 GB, free: 6.703 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.1483, allocations: 282.8 kB / 0.6552 GB, free: 6.426 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005099/0.1488, allocations: 0.6407 MB / 0.6558 GB, free: 5.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.1505, allocations: 1.511 MB / 0.6573 GB, free: 4.266 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1505, allocations: 0 / 0.6573 GB, free: 4.266 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1505, allocations: 8 kB / 0.6573 GB, free: 4.258 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.1506, allocations: 0 / 0.6573 GB, free: 4.258 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007372/0.1579, allocations: 2.56 MB / 0.6598 GB, free: 1.645 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.158, allocations: 8.031 kB / 0.6598 GB, free: 1.637 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.1582, allocations: 126.8 kB / 0.6599 GB, free: 1.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00467/0.1628, allocations: 0.7827 MB / 0.6607 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.1644, allocations: 0.7724 MB / 0.6614 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003104/0.1647, allocations: 260.2 kB / 0.6617 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.1649, allocations: 80 kB / 0.6617 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.1672, allocations: 1.085 MB / 0.6628 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.1672, allocations: 0 / 0.6628 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.43e-05/0.1673, allocations: 28 kB / 0.6628 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.1674, allocations: 20 kB / 0.6628 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/0.1697, allocations: 1.124 MB / 0.6639 GB, free: 13.26 MB / 478.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.005932/0.1757, allocations: 3.436 MB / 0.6673 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.1779, allocations: 1.434 MB / 0.6687 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.1794, allocations: 0.7813 MB / 0.6695 GB, free: 7.328 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.1795, allocations: 13 kB / 0.6695 GB, free: 7.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.1796, allocations: 47.55 kB / 0.6695 GB, free: 7.262 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.035e-06/0.1796, allocations: 0 / 0.6695 GB, free: 7.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.0237/0.2033, allocations: 6.609 MB / 0.676 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.2034, allocations: 60.41 kB / 0.676 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.2049, allocations: 0.8963 MB / 0.6769 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000238/0.2052, allocations: 45.7 kB / 0.6769 GB, free: 15.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/0.2057, allocations: 0.4928 MB / 0.6774 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000471/0.2061, allocations: 343.1 kB / 0.6778 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005338/0.2067, allocations: 202.8 kB / 0.6779 GB, free: 14.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2068, allocations: 353.9 kB / 0.6783 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.2084, allocations: 0.7209 MB / 0.679 GB, free: 13.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.2102, allocations: 0.8501 MB / 0.6798 GB, free: 12.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01747/0.2277, allocations: 4.826 MB / 0.6845 GB, free: 7.723 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.2277, allocations: 0 / 0.6845 GB, free: 7.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01266/0.2404, allocations: 4.273 MB / 0.6887 GB, free: 3.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.2404, allocations: 7.938 kB / 0.6887 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.2405, allocations: 4 kB / 0.6887 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005775/0.2462, allocations: 1.811 MB / 0.6905 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.2473, allocations: 215.7 kB / 0.6907 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/0.2688, allocations: 9.312 MB / 0.6998 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.2704, allocations: 178.9 kB / 0.7 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.2706, allocations: 43.98 kB / 0.7 GB, free: 7.707 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000618/0.2712, allocations: 239.9 kB / 0.7002 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.2716, allocations: 122.4 kB / 0.7003 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.2837, allocations: 4.014 MB / 0.7043 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.2838, allocations: 12 kB / 0.7043 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2838, allocations: 4 kB / 0.7043 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.759e-05/0.2839, allocations: 3.984 kB / 0.7043 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.2985, allocations: 5.614 MB / 0.7098 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.2986, allocations: 8 kB / 0.7098 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.2993, allocations: 135.8 kB / 0.7099 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005356/0.3046, allocations: 1.737 MB / 0.7116 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.3048, allocations: 27.92 kB / 0.7116 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01733/0.3221, allocations: 8.061 MB / 0.7195 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3222, allocations: 0 / 0.7195 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/0.3366, allocations: 4.968 MB / 0.7243 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.3371, allocations: 199.5 kB / 0.7245 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00039/0.3375, allocations: 27.98 kB / 0.7246 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.3387, allocations: 111.8 kB / 0.7247 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008159/0.3395, allocations: 216.7 kB / 0.7249 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.3397, allocations: 28 kB / 0.7249 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001025/0.3407, allocations: 0.6008 MB / 0.7255 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3408, allocations: 0 / 0.7255 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001732/0.3425, allocations: 439.4 kB / 0.7259 GB, free: 12.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.01446/0.357, allocations: 5.553 MB / 0.7313 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006696/0.3637, allocations: 2.488 MB / 0.7338 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3637, allocations: 0 / 0.7338 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004539/0.3683, allocations: 1.605 MB / 0.7353 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.3692, allocations: 84.42 kB / 0.7354 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03822/0.4075, allocations: 15.32 MB / 0.7504 GB, free: 3.492 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009808/0.4085, allocations: 1.095 MB / 0.7514 GB, free: 2.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004714/0.409, allocations: 94.69 kB / 0.7515 GB, free: 2.273 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007115/0.4097, allocations: 447.3 kB / 0.752 GB, free: 1.836 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/0.4097, allocations: 0 / 0.752 GB, free: 1.836 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.356/0.7658, allocations: 33.76 MB / 0.7849 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.37/18.14, allocations: 2.25 kB / 0.7849 GB, free: 116.3 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)