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.004342/0.004342, allocations: 92.27 kB / 15.91 MB, free: 6.277 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.001152/0.001152, allocations: 192.4 kB / 16.83 MB, free: 6.191 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.25/1.25, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1415/0.1415, allocations: 8.092 MB / 298.7 MB, free: 2.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 63.91 kB / 361.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08529/0.0864, allocations: 51.51 MB / 412.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002481/0.08891, allocations: 1.663 MB / 414.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.09077, allocations: 1.547 MB / 415.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.943e-05/0.09089, allocations: 4 kB / 415.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.09124, allocations: 111.6 kB / 416 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.09159, allocations: 123.3 kB / 416.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.09321, allocations: 1.011 MB / 417.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.09351, allocations: 238.8 kB / 417.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.09365, allocations: 68.11 kB / 417.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.09377, allocations: 103.6 kB / 417.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.09394, allocations: 123.5 kB / 417.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.09398, allocations: 12 kB / 417.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.09435, allocations: 219.8 kB / 417.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.505e-05/0.0944, allocations: 47.77 kB / 417.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.09451, allocations: 115.4 kB / 418 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.09499, allocations: 415.1 kB / 418.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.095, allocations: 0 / 418.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.09501, allocations: 0 / 418.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.09502, allocations: 0 / 418.4 MB, free: 4.273 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.003269/0.0983, allocations: 0.9943 MB / 419.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.09834, allocations: 12.03 kB / 419.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.09841, allocations: 54.73 kB / 419.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/0.09849, allocations: 28.66 kB / 419.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.09877, allocations: 259.8 kB / 419.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.09879, allocations: 16.7 kB / 419.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.09884, allocations: 24.38 kB / 419.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.09938, allocations: 298.5 kB / 420.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.0994, allocations: 3.938 kB / 420.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.09944, allocations: 12 kB / 420.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.09945, allocations: 4 kB / 420.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.09982, allocations: 239.9 kB / 420.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.1014, allocations: 1.172 MB / 421.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.102, allocations: 310.5 kB / 421.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.1022, allocations: 152.8 kB / 422 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/0.1022, allocations: 15.98 kB / 422 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.1023, allocations: 31 kB / 422 MB, free: 428 kB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.293e-06/0.1023, allocations: 0 / 422 MB, free: 428 kB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003739/0.106, allocations: 1.084 MB / 423.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1061, allocations: 110.8 kB / 423.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.1063, allocations: 230.6 kB / 423.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.1064, allocations: 29.7 kB / 423.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.1064, allocations: 124.8 kB / 423.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.1065, allocations: 86.75 kB / 423.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.1066, allocations: 77.58 kB / 423.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1067, allocations: 326.8 kB / 424.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.107, allocations: 180.2 kB / 424.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.1073, allocations: 210.4 kB / 424.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.1078, allocations: 377.5 kB / 424.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1078, allocations: 0 / 424.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001986/0.1098, allocations: 0.7514 MB / 425.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1099, allocations: 10.34 kB / 425.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1099, allocations: 3.984 kB / 425.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.1119, allocations: 420.4 kB / 426 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.1122, allocations: 55.91 kB / 426 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08207/0.1942, allocations: 2.503 MB / 428.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.1947, allocations: 43.55 kB / 428.6 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.1948, allocations: 12 kB / 428.6 MB, free: 9.578 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 (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.0002064/0.195, allocations: 141.8 kB / 428.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.1951, allocations: 19.81 kB / 428.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.1971, allocations: 0.6986 MB / 429.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1972, allocations: 4 kB / 429.5 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1972, allocations: 4 kB / 429.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1972, allocations: 0 / 429.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.1976, allocations: 397.2 kB / 429.9 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1976, allocations: 0 / 429.9 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.1977, allocations: 39.98 kB / 429.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/0.1997, allocations: 420.6 kB / 430.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.1998, allocations: 4 kB / 430.3 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003648/0.2034, allocations: 2.476 MB / 432.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2034, allocations: 0 / 432.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.2053, allocations: 0.7574 MB / 433.5 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.2054, allocations: 100.8 kB / 433.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.2054, allocations: 7.938 kB / 433.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.2057, allocations: 23.98 kB / 433.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.2058, allocations: 23.97 kB / 433.7 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.2058, allocations: 7.984 kB / 433.7 MB, free: 4.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.2059, allocations: 156.4 kB / 433.9 MB, free: 4.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.206, allocations: 0 / 433.9 MB, free: 4.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004246/0.2064, allocations: 104 kB / 434 MB, free: 3.977 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.002219/0.2086, allocations: 1.302 MB / 435.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.21, allocations: 0.6156 MB / 435.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.21, allocations: 0 / 435.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009077/0.2109, allocations: 403 kB / 436.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.2113, allocations: 31.98 kB / 436.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1348/0.346, allocations: 3.554 MB / 439.9 MB, free: 56.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.3462, allocations: 0.75 MB / 440.6 MB, free: 55.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.3463, allocations: 31.78 kB / 440.6 MB, free: 55.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.729e-05/0.3464, allocations: 73.73 kB / 440.7 MB, free: 55.61 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3464, allocations: 0.5625 kB / 440.7 MB, free: 55.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4766/0.823, allocations: 9.031 MB / 449.7 MB, free: 55.11 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.8232, allocations: 222.5 kB / 450 MB, free: 54.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.51, allocations: 11.44 kB / 450 MB, free: 54.85 MB / 366.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)