Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",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.00122/0.00122, allocations: 108.3 kB / 16.03 MB, free: 6.32 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.001187/0.001187, allocations: 192.5 kB / 16.95 MB, free: 6.145 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.31/1.31, allocations: 222.9 MB / 240.6 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0465/0.0465, allocations: 8.089 MB / 298.9 MB, free: 6.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 361.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2304, allocations: 51.51 MB / 412.8 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004895/0.2353, allocations: 5.862 MB / 418.7 MB, free: 19.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003625/0.239, allocations: 2.324 MB / 421 MB, free: 17.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000741/0.2398, allocations: 20 kB / 421 MB, free: 17.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007245/0.2405, allocations: 254.8 kB / 421.3 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.2422, allocations: 0.5399 MB / 421.8 MB, free: 16.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.2446, allocations: 1.365 MB / 423.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.246, allocations: 1.283 MB / 424.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.2464, allocations: 413 kB / 424.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.2468, allocations: 0.537 MB / 425.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005198/0.2474, allocations: 0.6924 MB / 426.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.2475, allocations: 104 kB / 426.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005602/0.2481, allocations: 351.7 kB / 426.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.2482, allocations: 262.9 kB / 426.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.2486, allocations: 0.6102 MB / 427.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.2496, allocations: 1.409 MB / 428.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2496, allocations: 0 / 428.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2496, allocations: 0 / 428.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.2496, allocations: 0 / 428.8 MB, free: 9.691 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01166/0.2613, allocations: 3.155 MB / 432 MB, free: 6.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.2614, allocations: 11.89 kB / 432 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.2615, allocations: 139.2 kB / 432.1 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.2618, allocations: 135.4 kB / 432.3 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.2627, allocations: 0.6756 MB / 432.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.2627, allocations: 70.38 kB / 433 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.2628, allocations: 100.4 kB / 433.1 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.2646, allocations: 1.342 MB / 434.5 MB, free: 3.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.2647, allocations: 4 kB / 434.5 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.2648, allocations: 36 kB / 434.5 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.2648, allocations: 24 kB / 434.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.2663, allocations: 1.285 MB / 435.8 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00637/0.2727, allocations: 5.234 MB / 441 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.2757, allocations: 3.115 MB / 444.2 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.277, allocations: 0.9809 MB / 445.1 MB, free: 8.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.2772, allocations: 33.27 kB / 445.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.2772, allocations: 56.05 kB / 445.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=147): time 3.106e-06/0.2772, allocations: 0 / 445.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=147): time 0.02765/0.3049, allocations: 7.069 MB / 452.3 MB, free: 1.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.305, allocations: 120.1 kB / 452.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00096/0.306, allocations: 0.6486 MB / 453.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000304/0.3063, allocations: 61.7 kB / 453.1 MB, free: 460 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.3066, allocations: 334.4 kB / 453.4 MB, free: 120 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/0.3071, allocations: 496.6 kB / 453.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004952/0.3076, allocations: 275.6 kB / 454.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3077, allocations: 349.9 kB / 454.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.3091, allocations: 0.8591 MB / 455.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.3105, allocations: 0.9768 MB / 456.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/0.3134, allocations: 1.943 MB / 458.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3134, allocations: 0 / 458.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01028/0.3237, allocations: 3.819 MB / 462.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.3238, allocations: 6.188 kB / 462.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3238, allocations: 0 / 462.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/0.3352, allocations: 3.954 MB / 466.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009899/0.3363, allocations: 231.6 kB / 466.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02262/0.3589, allocations: 11.46 MB / 477.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.3602, allocations: 138.5 kB / 477.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.3603, allocations: 55.97 kB / 478 MB, free: 7.426 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 (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,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005276/0.3608, allocations: 257.7 kB / 478.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.3611, allocations: 118.6 kB / 478.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.3713, allocations: 3.793 MB / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.3714, allocations: 16 kB / 482.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3714, allocations: 7.875 kB / 482.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.3715, allocations: 7.969 kB / 482.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.3835, allocations: 5.321 MB / 487.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.887e-05/0.3836, allocations: 3.984 kB / 487.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.3842, allocations: 179.7 kB / 487.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/0.3948, allocations: 2.743 MB / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003668/0.3953, allocations: 35.98 kB / 490.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02161/0.4169, allocations: 11.27 MB / 0.49 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4169, allocations: 3.984 kB / 0.49 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.4269, allocations: 3.663 MB / 0.4935 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004122/0.4274, allocations: 203.3 kB / 0.4937 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/0.4277, allocations: 31.94 kB / 0.4938 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.4288, allocations: 89.92 kB / 0.4938 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004991/0.4293, allocations: 126.4 kB / 0.494 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.4294, allocations: 47.98 kB / 0.494 GB, free: 11.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000597/0.43, allocations: 439 kB / 0.4944 GB, free: 10.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.43, allocations: 0 / 0.4944 GB, free: 10.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001543/0.4316, allocations: 0.5309 MB / 0.4949 GB, free: 10.27 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 (106): * Single equations (assignments): 105 * 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,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01028/0.4418, allocations: 4.276 MB / 0.4991 GB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008884/0.4508, allocations: 3.224 MB / 0.5023 GB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.4508, allocations: 8.594 kB / 0.5023 GB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00569/0.4565, allocations: 2.113 MB / 0.5043 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4576, allocations: 154.9 kB / 0.5045 GB, free: 464 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1908/0.6484, allocations: 14.92 MB / 0.5191 GB, free: 87.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.649, allocations: 1.093 MB / 0.5201 GB, free: 86.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005961/0.6496, allocations: 145.2 kB / 0.5203 GB, free: 86.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.65, allocations: 408.6 kB / 0.5207 GB, free: 86.23 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.65, allocations: 0 / 0.5207 GB, free: 86.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08074/0.7308, allocations: 45.36 MB / 0.5649 GB, free: 43.1 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.731, allocations: 224 kB / 0.5652 GB, free: 42.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.407, allocations: 7.938 kB / 0.5652 GB, free: 42.84 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)