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.00705/0.00705, allocations: 104.4 kB / 15.74 MB, free: 6.027 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.339/1.339, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.00137/0.00137, allocations: 184.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4451/0.4451, allocations: 78.54 MB / 418.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 79.88 kB / 0.5532 GB, free: 1.449 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3125, allocations: 68.16 MB / 0.6197 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.004684/0.3173, allocations: 5.255 MB / 0.6249 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.32, allocations: 1.638 MB / 0.6265 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005164/0.3206, allocations: 8 kB / 0.6265 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.3211, allocations: 178.4 kB / 0.6266 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.3225, allocations: 0.6801 MB / 0.6273 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008779/0.3234, allocations: 0.4928 MB / 0.6278 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008628/0.3242, allocations: 1.074 MB / 0.6288 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.3246, allocations: 274.4 kB / 0.6291 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.325, allocations: 470 kB / 0.6295 GB, free: 72 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006536/0.3257, allocations: 0.5912 MB / 0.6301 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.3259, allocations: 80 kB / 0.6302 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.3263, allocations: 215.8 kB / 0.6304 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.3265, allocations: 235 kB / 0.6306 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.3269, allocations: 497 kB / 0.6311 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.3284, allocations: 1.249 MB / 0.6323 GB, free: 13.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3284, allocations: 0 / 0.6323 GB, free: 13.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3284, allocations: 0 / 0.6323 GB, free: 13.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.3284, allocations: 0 / 0.6323 GB, free: 13.22 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.006766/0.3352, allocations: 2.159 MB / 0.6344 GB, free: 11.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3352, allocations: 12.03 kB / 0.6344 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.3354, allocations: 110.7 kB / 0.6345 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004115/0.3395, allocations: 0.6435 MB / 0.6352 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3406, allocations: 0.6629 MB / 0.6358 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.3408, allocations: 176.1 kB / 0.636 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.341, allocations: 60 kB / 0.636 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.3429, allocations: 0.8575 MB / 0.6369 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3429, allocations: 0 / 0.6369 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.343, allocations: 24 kB / 0.6369 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.3431, allocations: 19.94 kB / 0.6369 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.345, allocations: 0.8913 MB / 0.6378 GB, free: 7.473 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.004358/0.3494, allocations: 2.409 MB / 0.6401 GB, free: 4.961 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3511, allocations: 1.033 MB / 0.6411 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.3523, allocations: 0.6318 MB / 0.6418 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.153e-05/0.3524, allocations: 16.64 kB / 0.6418 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3525, allocations: 39.22 kB / 0.6418 GB, free: 3.145 MB / 446.1 MB Notification: Performance of pre-optimization done (n=76): time 2.795e-06/0.3525, allocations: 0 / 0.6418 GB, free: 3.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=76): time 0.02188/0.3744, allocations: 5.562 MB / 0.6473 GB, free: 13.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.3745, allocations: 60.06 kB / 0.6473 GB, free: 13.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/0.3755, allocations: 0.7552 MB / 0.648 GB, free: 12.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.3756, allocations: 41.7 kB / 0.6481 GB, free: 12.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.3759, allocations: 397 kB / 0.6485 GB, free: 12.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.3762, allocations: 293.5 kB / 0.6487 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/0.3766, allocations: 174.6 kB / 0.6489 GB, free: 11.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3767, allocations: 349.9 kB / 0.6492 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.378, allocations: 0.5993 MB / 0.6498 GB, free: 10.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.3794, allocations: 0.7046 MB / 0.6505 GB, free: 10.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.3822, allocations: 1.308 MB / 0.6518 GB, free: 8.805 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.3822, allocations: 0 / 0.6518 GB, free: 8.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01113/0.3934, allocations: 3.498 MB / 0.6552 GB, free: 5.289 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3934, allocations: 4 kB / 0.6552 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3934, allocations: 4 kB / 0.6552 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00507/0.3985, allocations: 1.45 MB / 0.6566 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000909/0.3994, allocations: 183.6 kB / 0.6568 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/0.4174, allocations: 7.805 MB / 0.6644 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.4186, allocations: 143.4 kB / 0.6646 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.4188, allocations: 35.98 kB / 0.6646 GB, free: 11.53 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.0004306/0.4192, allocations: 229.6 kB / 0.6648 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.4194, allocations: 95.39 kB / 0.6649 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.4298, allocations: 3.223 MB / 0.6681 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.4299, allocations: 8 kB / 0.6681 GB, free: 7.953 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.4299, allocations: 0 / 0.6681 GB, free: 7.953 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.4299, allocations: 3.984 kB / 0.6681 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.4423, allocations: 4.542 MB / 0.6725 GB, free: 3.289 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.4424, allocations: 0 / 0.6725 GB, free: 3.289 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/0.443, allocations: 91.88 kB / 0.6726 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004915/0.4479, allocations: 1.407 MB / 0.674 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.448, allocations: 19.92 kB / 0.674 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/0.4633, allocations: 6.742 MB / 0.6806 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4634, allocations: 0 / 0.6806 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/0.4759, allocations: 4.054 MB / 0.6845 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/0.4763, allocations: 176.4 kB / 0.6847 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.4765, allocations: 19.94 kB / 0.6847 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/0.4774, allocations: 83.89 kB / 0.6848 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000517/0.4779, allocations: 168.4 kB / 0.685 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.478, allocations: 20 kB / 0.685 GB, free: 6.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006623/0.4786, allocations: 0.5107 MB / 0.6855 GB, free: 5.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4786, allocations: 0 / 0.6855 GB, free: 5.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001044/0.4797, allocations: 367.7 kB / 0.6858 GB, free: 5.457 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.01266/0.4924, allocations: 4.621 MB / 0.6903 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005713/0.4981, allocations: 2.05 MB / 0.6923 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4982, allocations: 0 / 0.6923 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003839/0.502, allocations: 1.296 MB / 0.6936 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007368/0.5028, allocations: 71.31 kB / 0.6937 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.031/0.5338, allocations: 12.73 MB / 0.7061 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.5344, allocations: 1.009 MB / 0.7071 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003829/0.5348, allocations: 89.47 kB / 0.7072 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/0.5353, allocations: 339.3 kB / 0.7075 GB, free: 15 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.5353, allocations: 0 / 0.7075 GB, free: 15 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08479/0.6201, allocations: 27.48 MB / 0.7343 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.01, allocations: 8.062 kB / 0.7343 GB, free: 3.621 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)