Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.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.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",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.001089/0.001089, allocations: 105.4 kB / 16.45 MB, free: 6.434 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.001166/0.001166, allocations: 189.4 kB / 17.38 MB, free: 5.656 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.254/1.254, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04597/0.04597, allocations: 8.102 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 63.91 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.08593, allocations: 51.52 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.003501/0.08947, allocations: 2.901 MB / 468.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.09144, allocations: 1.664 MB / 470.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.09157, allocations: 15.88 kB / 470.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.09197, allocations: 182.9 kB / 470.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.09242, allocations: 234.4 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.0943, allocations: 1.229 MB / 471.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.09481, allocations: 0.5054 MB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.09509, allocations: 222 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.09527, allocations: 199.3 kB / 472.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.09555, allocations: 262.9 kB / 472.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.09562, allocations: 44 kB / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.09603, allocations: 279.7 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.09612, allocations: 111.5 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.09631, allocations: 246.8 kB / 473.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006646/0.09698, allocations: 0.685 MB / 474.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.097, allocations: 0 / 474.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.09701, allocations: 4 kB / 474.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.09702, allocations: 0 / 474.3 MB, free: 9.871 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.004518/0.1015, allocations: 1.454 MB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1016, allocations: 11.89 kB / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.138e-05/0.1017, allocations: 94.62 kB / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.98e-05/0.1018, allocations: 56.61 kB / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.1022, allocations: 347.5 kB / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1022, allocations: 33.38 kB / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.1023, allocations: 44.38 kB / 476.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.103, allocations: 0.5736 MB / 476.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1031, allocations: 3.938 kB / 476.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.1031, allocations: 16 kB / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1031, allocations: 8 kB / 476.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006482/0.1038, allocations: 475.8 kB / 477.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.1062, allocations: 2.191 MB / 479.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008228/0.1071, allocations: 0.6385 MB / 480.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.1074, allocations: 260.8 kB / 480.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.1e-05/0.1075, allocations: 19.97 kB / 480.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1075, allocations: 34.56 kB / 480.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.843e-06/0.1075, allocations: 0 / 480.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006037/0.1136, allocations: 1.841 MB / 482.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.1136, allocations: 106.8 kB / 482.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1139, allocations: 270.9 kB / 482.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.114, allocations: 37.7 kB / 482.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.1141, allocations: 213.3 kB / 482.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.1142, allocations: 158.6 kB / 483.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.1144, allocations: 106.2 kB / 483.2 MB, free: 456 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1145, allocations: 342.8 kB / 483.5 MB, free: 104 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.1149, allocations: 273.1 kB / 483.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.1153, allocations: 324.6 kB / 484.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008206/0.1161, allocations: 0.5983 MB / 484.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1161, allocations: 0 / 484.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003095/0.1192, allocations: 1.209 MB / 485.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1193, allocations: 8 kB / 485.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1193, allocations: 4 kB / 485.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/0.1225, allocations: 0.7656 MB / 486.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.1229, allocations: 87.89 kB / 486.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006668/0.1295, allocations: 3.895 MB / 490.7 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.1299, allocations: 55.56 kB / 490.7 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.13, allocations: 19.98 kB / 490.8 MB, free: 8.715 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.1302, allocations: 173.8 kB / 490.9 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.1303, allocations: 39.69 kB / 491 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/0.1333, allocations: 1.152 MB / 492.1 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1333, allocations: 15.88 kB / 492.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.1333, allocations: 0 / 492.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1333, allocations: 7.922 kB / 492.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.1368, allocations: 1.756 MB / 493.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1368, allocations: 0 / 493.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.137, allocations: 59.91 kB / 494 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/0.1401, allocations: 0.7415 MB / 494.7 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.1401, allocations: 15.94 kB / 494.7 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005921/0.146, allocations: 3.839 MB / 498.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1461, allocations: 4 kB / 498.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.1489, allocations: 1.18 MB / 499.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.149, allocations: 112.8 kB / 499.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.149, allocations: 8 kB / 499.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.1494, allocations: 34.94 kB / 499.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/0.1495, allocations: 36.39 kB / 499.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.1495, allocations: 12 kB / 499.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.1497, allocations: 190 kB / 0.4884 GB, free: 15.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1497, allocations: 0 / 0.4884 GB, free: 15.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000587/0.1503, allocations: 199.8 kB / 0.4886 GB, free: 14.91 MB / 382.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 (34): * Single equations (assignments): 33 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003068/0.1534, allocations: 1.748 MB / 0.4903 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.1555, allocations: 0.9959 MB / 0.4913 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.1556, allocations: 4 kB / 0.4913 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.1571, allocations: 0.6491 MB / 0.4919 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.1575, allocations: 48.75 kB / 0.4919 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008692/0.1662, allocations: 5.078 MB / 0.4969 GB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.1666, allocations: 0.8245 MB / 0.4977 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.1668, allocations: 54.92 kB / 0.4978 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.1669, allocations: 147.4 kB / 0.4979 GB, free: 5.18 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1669, allocations: 0 / 0.4979 GB, free: 5.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2132/0.3802, allocations: 14.74 MB / 0.5123 GB, free: 45.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.31, allocations: 4.969 kB / 0.5123 GB, free: 45.58 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_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_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1)