Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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/Complex 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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",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.001283/0.001283, allocations: 108.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 188.3 kB / 17.38 MB, free: 5.668 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05154/0.05154, allocations: 8.1 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.00179, allocations: 67.88 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.0936, allocations: 51.51 MB / 465.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002454/0.09611, allocations: 1.283 MB / 466.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.09771, allocations: 1.24 MB / 468 MB, free: 156 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.09779, allocations: 0 / 468 MB, free: 156 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.09814, allocations: 111.5 kB / 468.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.09834, allocations: 55.56 kB / 468.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.09961, allocations: 0.7389 MB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.09985, allocations: 135.4 kB / 469 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1, allocations: 65.47 kB / 469.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.489e-05/0.1001, allocations: 59.83 kB / 469.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1002, allocations: 67.64 kB / 469.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1002, allocations: 12 kB / 469.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.1005, allocations: 139.9 kB / 469.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.1006, allocations: 27.92 kB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.45e-05/0.1006, allocations: 75.66 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.101, allocations: 263.3 kB / 469.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.101, allocations: 0 / 469.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.101, allocations: 0 / 469.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.101, allocations: 0 / 469.7 MB, free: 14.42 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001257/0.1023, allocations: 0.5648 MB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1024, allocations: 15.89 kB / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.1024, allocations: 46.73 kB / 470.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.1025, allocations: 12.89 kB / 470.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1027, allocations: 208.2 kB / 470.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1027, allocations: 8.375 kB / 470.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1027, allocations: 12.38 kB / 470.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.103, allocations: 158.1 kB / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.103, allocations: 7.938 kB / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1031, allocations: 4 kB / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1031, allocations: 4 kB / 470.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.1033, allocations: 116 kB / 470.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.104, allocations: 0.5158 MB / 471.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007888/0.1048, allocations: 154.5 kB / 471.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.1049, allocations: 44.8 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.1051, allocations: 85.09 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1051, allocations: 34.56 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1051, allocations: 7.875 kB / 471.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001123/0.1063, allocations: 351.5 kB / 472 MB, free: 11.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1063, allocations: 63.33 kB / 472.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1064, allocations: 125.1 kB / 472.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1065, allocations: 29.7 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.1065, allocations: 128.2 kB / 472.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.1066, allocations: 31.73 kB / 472.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.1066, allocations: 29.72 kB / 472.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1068, allocations: 322.8 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.587e-05/0.1069, allocations: 39.98 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.316e-05/0.107, allocations: 61.45 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1071, allocations: 101.6 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1072, allocations: 0 / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004995/0.1077, allocations: 218.2 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1077, allocations: 6.344 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1077, allocations: 0 / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.1081, allocations: 76.77 kB / 473.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.1082, allocations: 12 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.11, allocations: 1.645 MB / 474.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.218e-05/0.1101, allocations: 7.969 kB / 474.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1101, allocations: 7.984 kB / 474.9 MB, free: 8.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.1102, allocations: 129.8 kB / 475 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.1103, allocations: 12.02 kB / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.1108, allocations: 206.6 kB / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1108, allocations: 0 / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1108, allocations: 7.938 kB / 475.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1108, allocations: 3.984 kB / 475.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.1111, allocations: 229.5 kB / 475.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1111, allocations: 0 / 475.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.1111, allocations: 12 kB / 475.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003392/0.1115, allocations: 76.77 kB / 475.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1115, allocations: 4 kB / 475.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.1132, allocations: 1.633 MB / 477.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1132, allocations: 384 / 477.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/0.1137, allocations: 280.2 kB / 477.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.1138, allocations: 89.08 kB / 477.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1138, allocations: 7.984 kB / 477.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1139, allocations: 15.94 kB / 477.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.114, allocations: 4 kB / 477.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.114, allocations: 11.92 kB / 477.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.702e-05/0.1141, allocations: 95.27 kB / 477.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.1141, allocations: 0 / 477.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.1144, allocations: 55.81 kB / 477.8 MB, free: 5.684 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008734/0.1153, allocations: 0.8305 MB / 478.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006538/0.1159, allocations: 254.5 kB / 478.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1159, allocations: 0 / 478.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.1164, allocations: 206.6 kB / 479 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1166, allocations: 12 kB / 479.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.119, allocations: 1.774 MB / 480.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1193, allocations: 0.7119 MB / 481.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.1194, allocations: 8.656 kB / 481.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.1194, allocations: 39.42 kB / 481.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1194, allocations: 4 kB / 481.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.1478, allocations: 3.533 MB / 485.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.62/9.768, allocations: 15.94 kB / 485.1 MB, free: 14.21 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OnePerfectLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)