Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",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.004964/0.004964, allocations: 90.91 kB / 15.91 MB, free: 6.305 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.001254/0.001254, allocations: 194.5 kB / 16.83 MB, free: 6.238 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.258/1.258, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1472/0.1472, allocations: 8.083 MB / 298.7 MB, free: 2.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 59.91 kB / 361.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07189/0.073, allocations: 51.51 MB / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.005417/0.07846, allocations: 6.076 MB / 418.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.08102, allocations: 2.439 MB / 421.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.08126, allocations: 16 kB / 421.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.08175, allocations: 270.7 kB / 421.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008558/0.08261, allocations: 0.579 MB / 422 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.08482, allocations: 1.44 MB / 423.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.08583, allocations: 1.357 MB / 424.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004806/0.08632, allocations: 459.2 kB / 425.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.08672, allocations: 0.5368 MB / 425.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006001/0.08732, allocations: 0.6924 MB / 426.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.08746, allocations: 84 kB / 426.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000519/0.08799, allocations: 323.7 kB / 426.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.08816, allocations: 258.8 kB / 427.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004879/0.08866, allocations: 0.6296 MB / 427.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.08995, allocations: 1.756 MB / 429.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.08996, allocations: 0 / 429.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.08997, allocations: 0 / 429.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.08998, allocations: 4 kB / 429.5 MB, free: 9.105 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.01128/0.1013, allocations: 3.236 MB / 432.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1013, allocations: 8.031 kB / 432.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.1015, allocations: 139.6 kB / 432.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.1017, allocations: 143.3 kB / 433.1 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/0.1027, allocations: 0.7615 MB / 433.8 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.1027, allocations: 74.38 kB / 433.9 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.1029, allocations: 108.4 kB / 434 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.105, allocations: 1.518 MB / 435.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1051, allocations: 7.922 kB / 435.5 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.1052, allocations: 40 kB / 435.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.1052, allocations: 20 kB / 435.6 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.1072, allocations: 1.464 MB / 437.1 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1409/0.2481, allocations: 6.023 MB / 443.1 MB, free: 52.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.2505, allocations: 3.755 MB / 446.8 MB, free: 50.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.2517, allocations: 1.106 MB / 447.9 MB, free: 49.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.2518, allocations: 38.84 kB / 448 MB, free: 49.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.2519, allocations: 55.77 kB / 448 MB, free: 49.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=151): time 2.816e-06/0.2519, allocations: 0 / 448 MB, free: 49.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=151): time 0.02865/0.2805, allocations: 8.281 MB / 456.3 MB, free: 47.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.2806, allocations: 122.7 kB / 456.4 MB, free: 47.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.2812, allocations: 0.6645 MB / 457.1 MB, free: 47.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.2813, allocations: 63.23 kB / 457.2 MB, free: 46.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.2815, allocations: 345.2 kB / 457.5 MB, free: 46.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.2818, allocations: 0.5024 MB / 458 MB, free: 46.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/0.2822, allocations: 284.2 kB / 458.3 MB, free: 46.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.2822, allocations: 348.2 kB / 458.6 MB, free: 45.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.2833, allocations: 0.9686 MB / 459.6 MB, free: 45.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.2845, allocations: 1.083 MB / 460.7 MB, free: 44.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002813/0.2874, allocations: 2.16 MB / 462.8 MB, free: 43.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2874, allocations: 3.031 kB / 462.8 MB, free: 43.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.008741/0.2961, allocations: 4.112 MB / 466.9 MB, free: 42.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2962, allocations: 13.88 kB / 467 MB, free: 42.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2962, allocations: 1.031 kB / 467 MB, free: 42.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.3064, allocations: 4.2 MB / 471.2 MB, free: 41.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/0.3071, allocations: 227.3 kB / 471.4 MB, free: 41.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01849/0.3256, allocations: 11.98 MB / 483.4 MB, free: 34.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009941/0.3266, allocations: 140.8 kB / 483.5 MB, free: 34.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.3267, allocations: 55.59 kB / 483.5 MB, free: 34.54 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 (135): * Single equations (assignments): 134 * 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 {(32,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0004503/0.3272, allocations: 309.5 kB / 483.9 MB, free: 34.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.3274, allocations: 110.4 kB / 484 MB, free: 34.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009333/0.3367, allocations: 4.074 MB / 488 MB, free: 32.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.3367, allocations: 16.84 kB / 488 MB, free: 32.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3367, allocations: 3.938 kB / 488.1 MB, free: 32.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.3368, allocations: 6.938 kB / 488.1 MB, free: 32.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.3476, allocations: 6.003 MB / 494.1 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3476, allocations: 0 / 494.1 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005131/0.3481, allocations: 171.6 kB / 494.2 MB, free: 29.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0101/0.3582, allocations: 2.896 MB / 497.1 MB, free: 29.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.3584, allocations: 33.73 kB / 497.2 MB, free: 29.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/0.3763, allocations: 11.77 MB / 0.497 GB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3763, allocations: 0 / 0.497 GB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008414/0.3847, allocations: 3.949 MB / 0.5009 GB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.385, allocations: 215.1 kB / 0.5011 GB, free: 17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.3852, allocations: 28 kB / 0.5011 GB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000892/0.3861, allocations: 88.38 kB / 0.5012 GB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004293/0.3865, allocations: 126.4 kB / 0.5013 GB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.3866, allocations: 55.98 kB / 0.5013 GB, free: 16.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004818/0.3871, allocations: 459 kB / 0.5018 GB, free: 16.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3871, allocations: 0 / 0.5018 GB, free: 16.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001269/0.3884, allocations: 0.5543 MB / 0.5023 GB, free: 15.71 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 (105): * Single equations (assignments): 104 * 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 {(32,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008612/0.397, allocations: 4.556 MB / 0.5068 GB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005907/0.4029, allocations: 3.371 MB / 0.5101 GB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.403, allocations: 8.656 kB / 0.5101 GB, free: 7.754 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004486/0.4075, allocations: 2.211 MB / 0.5122 GB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008365/0.4083, allocations: 144.2 kB / 0.5124 GB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02818/0.4365, allocations: 16 MB / 0.528 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.4372, allocations: 1.096 MB / 0.5291 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005544/0.4377, allocations: 151.7 kB / 0.5292 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.4382, allocations: 415.3 kB / 0.5296 GB, free: 3.461 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4382, allocations: 0 / 0.5296 GB, free: 3.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1699/0.6082, allocations: 47.69 MB / 0.5762 GB, free: 3.977 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.6084, allocations: 245.2 kB / 0.5764 GB, free: 3.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.065, allocations: 7.562 kB / 0.5764 GB, free: 3.715 MB / 430.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)