Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",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.001215/0.001215, allocations: 102.7 kB / 16.45 MB, free: 6.457 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.001225/0.001225, allocations: 189.1 kB / 17.39 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.268/1.268, allocations: 222.9 MB / 241.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04602/0.04602, allocations: 8.095 MB / 299.3 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.89 kB / 414 MB, free: 22.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09513, allocations: 51.51 MB / 465.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002558/0.09773, allocations: 1.613 MB / 467.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.09965, allocations: 1.563 MB / 468.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.582e-05/0.09974, allocations: 4 kB / 468.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1001, allocations: 123.3 kB / 468.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.1004, allocations: 139.2 kB / 468.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.1022, allocations: 1.031 MB / 470 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.1025, allocations: 250.8 kB / 470.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1027, allocations: 80.34 kB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.911e-05/0.1028, allocations: 103.6 kB / 470.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.103, allocations: 127.5 kB / 470.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.103, allocations: 23.94 kB / 470.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.1034, allocations: 235.8 kB / 470.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.1035, allocations: 51.77 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1036, allocations: 115.5 kB / 470.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.1041, allocations: 418.8 kB / 471.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1041, allocations: 3.938 kB / 471.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1042, allocations: 0 / 471.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1042, allocations: 0 / 471.3 MB, free: 12.77 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003285/0.1075, allocations: 1.009 MB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1075, allocations: 11.89 kB / 472.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.1076, allocations: 54.72 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.1077, allocations: 28.8 kB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.108, allocations: 256.4 kB / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.108, allocations: 20.7 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.1081, allocations: 16.38 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/0.1085, allocations: 306.5 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1085, allocations: 3.938 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.1086, allocations: 4 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1086, allocations: 4 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.109, allocations: 247.9 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.1105, allocations: 1.16 MB / 474.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/0.1112, allocations: 320 kB / 474.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.1114, allocations: 154.1 kB / 474.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.599e-05/0.1115, allocations: 11.94 kB / 474.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1115, allocations: 34.56 kB / 475 MB, free: 8.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.242e-06/0.1115, allocations: 3.938 kB / 475 MB, free: 8.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003502/0.115, allocations: 1.077 MB / 476 MB, free: 7.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.1151, allocations: 106.8 kB / 476.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.1153, allocations: 218.8 kB / 476.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.1154, allocations: 37.7 kB / 476.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.1155, allocations: 128.9 kB / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.1155, allocations: 87.22 kB / 476.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.1157, allocations: 77.67 kB / 476.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1158, allocations: 330.8 kB / 477 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.116, allocations: 176.2 kB / 477.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.1163, allocations: 210.4 kB / 477.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.1169, allocations: 385.4 kB / 477.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1169, allocations: 0 / 477.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001894/0.1188, allocations: 0.7514 MB / 478.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1188, allocations: 4 kB / 478.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1188, allocations: 0 / 478.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/0.1208, allocations: 424.4 kB / 478.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.121, allocations: 67.88 kB / 479 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.1252, allocations: 2.722 MB / 481.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.1254, allocations: 39.78 kB / 481.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.1255, allocations: 11.98 kB / 481.8 MB, free: 1.832 MB / 350.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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.1256, allocations: 137.8 kB / 481.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.1257, allocations: 19.95 kB / 481.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.1276, allocations: 0.7026 MB / 482.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.1276, allocations: 8 kB / 482.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.1276, allocations: 3.938 kB / 482.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1276, allocations: 7.922 kB / 482.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.128, allocations: 385.3 kB / 483 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.128, allocations: 0 / 483 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.1282, allocations: 39.97 kB / 483.1 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.13, allocations: 412.4 kB / 483.5 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.13, allocations: 8 kB / 483.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/0.1338, allocations: 2.7 MB / 486.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1338, allocations: 3.938 kB / 486.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.1356, allocations: 0.7425 MB / 486.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.1357, allocations: 104.9 kB / 487 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.1357, allocations: 8 kB / 487 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.136, allocations: 27.8 kB / 487 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.136, allocations: 15.97 kB / 487.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.1361, allocations: 12 kB / 487.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1362, allocations: 160.4 kB / 487.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1362, allocations: 0 / 487.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004441/0.1367, allocations: 107.9 kB / 487.3 MB, free: 12.01 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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002151/0.1388, allocations: 1.306 MB / 488.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.1402, allocations: 0.6311 MB / 489.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1402, allocations: 3.938 kB / 489.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00089/0.1411, allocations: 406.5 kB / 489.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1414, allocations: 23.95 kB / 489.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/0.1473, allocations: 3.507 MB / 493.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1476, allocations: 0.7446 MB / 493.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1478, allocations: 34 kB / 494 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.1479, allocations: 71.41 kB / 494.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1479, allocations: 0 / 494.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.1812, allocations: 9.645 MB / 0.4919 GB, free: 11.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.86, allocations: 3.844 kB / 0.4919 GB, free: 11.59 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad_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_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)