Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.001455/0.001455, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 239.3 MB, free: 4.605 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.002041/0.002041, allocations: 188.5 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6258/0.6258, allocations: 91.9 MB / 431.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 79.88 kB / 0.502 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5964/0.5981, allocations: 71.25 MB / 0.5716 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007561/0.6057, allocations: 6.396 MB / 0.5778 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005172/0.611, allocations: 1.855 MB / 0.5796 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.6121, allocations: 11.62 kB / 0.5796 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000696/0.6128, allocations: 226.8 kB / 0.5799 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.615, allocations: 0.7153 MB / 0.5806 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.6165, allocations: 0.6091 MB / 0.5811 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.6184, allocations: 1.389 MB / 0.5825 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005978/0.619, allocations: 340.3 kB / 0.5828 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009506/0.62, allocations: 0.5778 MB / 0.5834 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008576/0.6208, allocations: 0.7193 MB / 0.5841 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.621, allocations: 99.94 kB / 0.5842 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.6216, allocations: 236.9 kB / 0.5844 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.6218, allocations: 277.3 kB / 0.5847 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.6222, allocations: 0.6212 MB / 0.5853 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.6239, allocations: 1.491 MB / 0.5867 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.6239, allocations: 0 / 0.5867 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.706e-06/0.6239, allocations: 0 / 0.5867 GB, free: 28.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.624, allocations: 0 / 0.5867 GB, free: 28.12 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00939/0.6334, allocations: 2.541 MB / 0.5892 GB, free: 26.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.6335, allocations: 8.625 kB / 0.5892 GB, free: 26.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/0.6337, allocations: 129.1 kB / 0.5894 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005181/0.6388, allocations: 0.7782 MB / 0.5901 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.6404, allocations: 0.7603 MB / 0.5909 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003395/0.6407, allocations: 256.4 kB / 0.5911 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.6409, allocations: 76.03 kB / 0.5912 GB, free: 25.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.6434, allocations: 1.077 MB / 0.5922 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.6435, allocations: 0 / 0.5922 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.803e-05/0.6436, allocations: 35.34 kB / 0.5923 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.6436, allocations: 17.5 kB / 0.5923 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.6463, allocations: 1.118 MB / 0.5934 GB, free: 25.14 MB / 430.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.005784/0.6521, allocations: 3.441 MB / 0.5967 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.6543, allocations: 1.416 MB / 0.5981 GB, free: 22.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.6561, allocations: 0.7767 MB / 0.5989 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.6562, allocations: 15.66 kB / 0.5989 GB, free: 21.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.6562, allocations: 54.88 kB / 0.5989 GB, free: 21.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.267e-06/0.6562, allocations: 1.281 kB / 0.5989 GB, free: 21.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.0296/0.6859, allocations: 6.743 MB / 0.6055 GB, free: 20.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.686, allocations: 62.12 kB / 0.6056 GB, free: 20.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.6879, allocations: 0.8803 MB / 0.6064 GB, free: 20.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002265/0.6882, allocations: 45.11 kB / 0.6065 GB, free: 20.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/0.6886, allocations: 0.4894 MB / 0.607 GB, free: 19.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/0.689, allocations: 337.2 kB / 0.6073 GB, free: 19.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/0.6894, allocations: 194.3 kB / 0.6075 GB, free: 19.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.6895, allocations: 361 kB / 0.6078 GB, free: 19.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.6913, allocations: 0.7116 MB / 0.6085 GB, free: 18.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.6933, allocations: 0.8397 MB / 0.6093 GB, free: 18.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02054/0.7138, allocations: 4.792 MB / 0.614 GB, free: 17.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.7139, allocations: 5.094 kB / 0.614 GB, free: 17.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01407/0.728, allocations: 4.252 MB / 0.6182 GB, free: 14.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.7281, allocations: 8 kB / 0.6182 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.7281, allocations: 7.984 kB / 0.6182 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005832/0.7339, allocations: 1.866 MB / 0.62 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.7352, allocations: 211.6 kB / 0.6202 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/0.7545, allocations: 9.088 MB / 0.6291 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.7566, allocations: 179 kB / 0.6293 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.7567, allocations: 35.98 kB / 0.6293 GB, free: 2.906 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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.0007416/0.7575, allocations: 237.6 kB / 0.6295 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.7578, allocations: 118.5 kB / 0.6296 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.7708, allocations: 4.01 MB / 0.6335 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/0.7709, allocations: 11.98 kB / 0.6336 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7709, allocations: 3.938 kB / 0.6336 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.46e-05/0.7709, allocations: 3.984 kB / 0.6336 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.7877, allocations: 5.621 MB / 0.639 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/0.7877, allocations: 0 / 0.639 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009013/0.7887, allocations: 135.8 kB / 0.6392 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006574/0.7953, allocations: 1.741 MB / 0.6409 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002342/0.7955, allocations: 20 kB / 0.6409 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02045/0.816, allocations: 8.08 MB / 0.6488 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.8161, allocations: 3.938 kB / 0.6488 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/0.8328, allocations: 4.958 MB / 0.6536 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006262/0.8335, allocations: 203.4 kB / 0.6538 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/0.8339, allocations: 16 kB / 0.6538 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.8353, allocations: 111.9 kB / 0.654 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009042/0.8363, allocations: 224.6 kB / 0.6542 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.8364, allocations: 24 kB / 0.6542 GB, free: 9.035 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.8376, allocations: 0.5927 MB / 0.6548 GB, free: 8.434 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8376, allocations: 0 / 0.6548 GB, free: 8.434 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002005/0.8396, allocations: 443.5 kB / 0.6552 GB, free: 8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.01697/0.8566, allocations: 5.537 MB / 0.6606 GB, free: 2.426 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00863/0.8653, allocations: 2.5 MB / 0.663 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.8654, allocations: 4.125 kB / 0.663 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005775/0.8711, allocations: 1.593 MB / 0.6646 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.8729, allocations: 84.42 kB / 0.6647 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04431/0.9172, allocations: 15.69 MB / 0.68 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009974/0.9183, allocations: 1.084 MB / 0.6811 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005952/0.9189, allocations: 90.67 kB / 0.6811 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008126/0.9197, allocations: 447.3 kB / 0.6816 GB, free: 12.49 MB / 494.1 MB Notification: Performance of SimCode: time 1.753e-06/0.9198, allocations: 0 / 0.6816 GB, free: 12.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07841/0.9982, allocations: 32.86 MB / 0.7137 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.4, allocations: 13.69 kB / 0.7137 GB, free: 11.78 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)