Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",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.001743/0.001743, allocations: 105.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.00189/0.00189, allocations: 186.4 kB / 17.38 MB, free: 5.688 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05193/0.05193, allocations: 8.109 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 63.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09373, allocations: 51.51 MB / 465.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002969/0.09674, allocations: 1.78 MB / 467.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.0993, allocations: 1.578 MB / 468.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.09944, allocations: 4 kB / 468.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.09996, allocations: 143.2 kB / 469 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.1004, allocations: 151.1 kB / 469.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.1023, allocations: 1.066 MB / 470.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.1027, allocations: 278.6 kB / 470.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.1029, allocations: 80.97 kB / 470.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.103, allocations: 115.6 kB / 470.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1032, allocations: 143.4 kB / 470.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.1033, allocations: 20 kB / 470.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.1038, allocations: 251.7 kB / 471.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.1038, allocations: 51.83 kB / 471.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.104, allocations: 135.3 kB / 471.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006359/0.1046, allocations: 458.4 kB / 471.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1046, allocations: 4 kB / 471.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1046, allocations: 0 / 471.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1047, allocations: 0 / 471.7 MB, free: 12.44 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.004007/0.1087, allocations: 1.111 MB / 472.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1087, allocations: 11.89 kB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.185e-05/0.1088, allocations: 58.67 kB / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.259e-05/0.1089, allocations: 32.75 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1092, allocations: 271.7 kB / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.1093, allocations: 28.69 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.1093, allocations: 24.38 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.1099, allocations: 343.8 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1099, allocations: 3.938 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.11, allocations: 8 kB / 473.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.11, allocations: 4 kB / 473.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.1105, allocations: 299.2 kB / 473.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.1124, allocations: 1.358 MB / 475.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/0.1133, allocations: 373.3 kB / 475.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.1136, allocations: 177.3 kB / 475.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008996/0.1145, allocations: 0.6972 MB / 476.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.1145, allocations: 42.8 kB / 476.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/0.1145, allocations: 0 / 476.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.003716/0.1183, allocations: 1.129 MB / 477.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.1184, allocations: 114.8 kB / 477.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.1186, allocations: 225 kB / 478 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.1187, allocations: 33.7 kB / 478 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1188, allocations: 148.8 kB / 478.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/0.1189, allocations: 107.1 kB / 478.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.1191, allocations: 82.11 kB / 478.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1193, allocations: 338.8 kB / 478.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.1196, allocations: 188.8 kB / 478.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.12, allocations: 267.2 kB / 479.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.1207, allocations: 484.8 kB / 479.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1207, allocations: 3.938 kB / 479.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002149/0.1229, allocations: 0.8145 MB / 480.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1229, allocations: 4 kB / 480.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.1229, allocations: 11.98 kB / 480.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/0.125, allocations: 409.3 kB / 480.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.1253, allocations: 67.91 kB / 480.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005347/0.1306, allocations: 4.023 MB / 484.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.131, allocations: 43.77 kB / 485 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.131, allocations: 23.98 kB / 485 MB, free: 14.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.1312, allocations: 150.6 kB / 485.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.1313, allocations: 19.86 kB / 485.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.1334, allocations: 0.7477 MB / 485.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1334, allocations: 0 / 485.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1334, allocations: 7.984 kB / 485.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1334, allocations: 0 / 485.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.1339, allocations: 421.1 kB / 486.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1339, allocations: 0 / 486.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.1341, allocations: 39.98 kB / 486.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/0.1361, allocations: 413.4 kB / 486.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.1361, allocations: 4 kB / 486.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005161/0.1413, allocations: 4.012 MB / 490.8 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1413, allocations: 0 / 490.8 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.1433, allocations: 0.7823 MB / 491.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1434, allocations: 112.8 kB / 491.7 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.1435, allocations: 4 kB / 491.7 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.1437, allocations: 12 kB / 491.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/0.1438, allocations: 27.95 kB / 491.7 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.1438, allocations: 8 kB / 491.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.144, allocations: 160.5 kB / 491.9 MB, free: 7.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.144, allocations: 0 / 491.9 MB, free: 7.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005741/0.1446, allocations: 124 kB / 492 MB, free: 6.969 MB / 366.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002331/0.1469, allocations: 1.335 MB / 493.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.1487, allocations: 0.7591 MB / 494.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.1487, allocations: 7.938 kB / 494.1 MB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.1498, allocations: 0.517 MB / 494.6 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1501, allocations: 20.44 kB / 494.6 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006736/0.1569, allocations: 3.738 MB / 498.4 MB, free: 392 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.1573, allocations: 0.761 MB / 499.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.1575, allocations: 42.25 kB / 499.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.1576, allocations: 83.41 kB / 499.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1576, allocations: 0 / 499.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.1941, allocations: 9.106 MB / 0.4965 GB, free: 6.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.755/9.949, allocations: 7.719 kB / 0.4965 GB, free: 6.5 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo_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_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)