Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.007184/0.007184, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.372/1.372, allocations: 222.9 MB / 239.4 MB, free: 4.402 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.001806/0.001806, allocations: 196.4 kB / 289.7 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4318/0.4318, allocations: 78.53 MB / 418.4 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 87.88 kB / 0.5531 GB, free: 1.422 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2741, allocations: 68.17 MB / 0.6197 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.004447/0.2786, allocations: 5.249 MB / 0.6248 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.2808, allocations: 1.638 MB / 0.6264 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.2811, allocations: 8 kB / 0.6265 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.2814, allocations: 186.4 kB / 0.6266 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.2826, allocations: 0.6804 MB / 0.6273 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007768/0.2834, allocations: 499.5 kB / 0.6278 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006862/0.2841, allocations: 1.078 MB / 0.6288 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.2844, allocations: 274.4 kB / 0.6291 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.2847, allocations: 470 kB / 0.6295 GB, free: 32 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006163/0.2854, allocations: 0.5912 MB / 0.6301 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.2855, allocations: 84 kB / 0.6302 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.2859, allocations: 219.9 kB / 0.6304 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.2861, allocations: 227 kB / 0.6306 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00039/0.2865, allocations: 0.4892 MB / 0.6311 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.2876, allocations: 1.232 MB / 0.6323 GB, free: 13.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2876, allocations: 0 / 0.6323 GB, free: 13.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2876, allocations: 0 / 0.6323 GB, free: 13.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.2876, allocations: 0 / 0.6323 GB, free: 13.19 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00632/0.294, allocations: 2.135 MB / 0.6344 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.294, allocations: 8.031 kB / 0.6344 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.2941, allocations: 102.7 kB / 0.6345 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004066/0.2982, allocations: 0.6468 MB / 0.6351 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008435/0.2991, allocations: 0.6504 MB / 0.6358 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.2992, allocations: 176.1 kB / 0.6359 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.2994, allocations: 60 kB / 0.636 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.3011, allocations: 0.8536 MB / 0.6368 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3011, allocations: 0 / 0.6368 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/0.3012, allocations: 23.98 kB / 0.6368 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.3012, allocations: 19.94 kB / 0.6369 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.303, allocations: 0.8913 MB / 0.6377 GB, free: 7.488 MB / 446.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.003834/0.3069, allocations: 2.408 MB / 0.6401 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.3085, allocations: 1.034 MB / 0.6411 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.3097, allocations: 0.624 MB / 0.6417 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.3098, allocations: 20.62 kB / 0.6417 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3098, allocations: 43.22 kB / 0.6418 GB, free: 3.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=76): time 1.954e-06/0.3098, allocations: 0 / 0.6418 GB, free: 3.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=76): time 0.02079/0.3306, allocations: 5.557 MB / 0.6472 GB, free: 13.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3307, allocations: 60.06 kB / 0.6472 GB, free: 13.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/0.3316, allocations: 0.759 MB / 0.648 GB, free: 12.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.868e-05/0.3317, allocations: 41.7 kB / 0.648 GB, free: 12.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.3319, allocations: 400.6 kB / 0.6484 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.3322, allocations: 268.1 kB / 0.6487 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00035/0.3325, allocations: 178.5 kB / 0.6488 GB, free: 11.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3327, allocations: 345.9 kB / 0.6492 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.3339, allocations: 0.5993 MB / 0.6497 GB, free: 10.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.3353, allocations: 0.7085 MB / 0.6504 GB, free: 10.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.3379, allocations: 1.308 MB / 0.6517 GB, free: 8.836 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.338, allocations: 4 kB / 0.6517 GB, free: 8.832 MB / 462.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01082/0.3488, allocations: 3.485 MB / 0.6551 GB, free: 5.328 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3488, allocations: 8 kB / 0.6551 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3488, allocations: 0 / 0.6551 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004967/0.3538, allocations: 1.45 MB / 0.6565 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/0.3547, allocations: 179.6 kB / 0.6567 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/0.3718, allocations: 7.798 MB / 0.6643 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.3729, allocations: 139.1 kB / 0.6645 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.373, allocations: 39.92 kB / 0.6645 GB, free: 11.58 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (94): * Single equations (assignments): 93 * 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 {(19,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003842/0.3734, allocations: 225.6 kB / 0.6647 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.3736, allocations: 98.78 kB / 0.6648 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.3836, allocations: 3.219 MB / 0.668 GB, free: 8.012 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3836, allocations: 8 kB / 0.668 GB, free: 8.004 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.3836, allocations: 0 / 0.668 GB, free: 8.004 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3836, allocations: 3.984 kB / 0.668 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.3949, allocations: 4.538 MB / 0.6724 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3949, allocations: 0 / 0.6724 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.3954, allocations: 95.88 kB / 0.6725 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004591/0.4001, allocations: 1.403 MB / 0.6739 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.4002, allocations: 12 kB / 0.6739 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/0.4147, allocations: 6.739 MB / 0.6805 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4148, allocations: 4 kB / 0.6805 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/0.4264, allocations: 4.042 MB / 0.6844 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.4267, allocations: 175.9 kB / 0.6846 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.4269, allocations: 16 kB / 0.6846 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008484/0.4278, allocations: 83.89 kB / 0.6847 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005222/0.4283, allocations: 168.4 kB / 0.6848 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.4284, allocations: 16 kB / 0.6848 GB, free: 6.406 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007295/0.4291, allocations: 0.5185 MB / 0.6853 GB, free: 5.895 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4291, allocations: 0 / 0.6853 GB, free: 5.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001058/0.4302, allocations: 363.5 kB / 0.6857 GB, free: 5.539 MB / 494.1 MB 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 (49): * Single equations (assignments): 48 * 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 {(20,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01191/0.4421, allocations: 4.617 MB / 0.6902 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005383/0.4475, allocations: 2.05 MB / 0.6922 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4476, allocations: 0 / 0.6922 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003631/0.4512, allocations: 1.28 MB / 0.6935 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/0.4519, allocations: 79.28 kB / 0.6935 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/0.4828, allocations: 12.7 MB / 0.7059 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.4835, allocations: 1.009 MB / 0.7069 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003226/0.4838, allocations: 93.45 kB / 0.707 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/0.4843, allocations: 343.3 kB / 0.7073 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.4843, allocations: 0 / 0.7073 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0573/0.5416, allocations: 27.47 MB / 0.7342 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/14.88, allocations: 3.625 kB / 0.7342 GB, free: 3.762 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)