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.00605/0.00605, allocations: 93.11 kB / 15.91 MB, free: 6.285 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.001511/0.001511, allocations: 198.7 kB / 16.84 MB, free: 6.199 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.265/1.265, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1283/0.1283, allocations: 8.09 MB / 298.7 MB, free: 2.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 361.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07786/0.07913, allocations: 51.51 MB / 412.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.005948/0.08512, allocations: 5.874 MB / 418.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003395/0.08854, allocations: 2.318 MB / 420.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007233/0.08928, allocations: 16 kB / 420.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000813/0.09011, allocations: 262.7 kB / 421.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.0916, allocations: 0.5361 MB / 421.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.09398, allocations: 1.405 MB / 423.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.09535, allocations: 1.24 MB / 424.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.09579, allocations: 350.3 kB / 424.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.09624, allocations: 0.5019 MB / 425.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005805/0.09683, allocations: 0.6806 MB / 425.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.09696, allocations: 76 kB / 425.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.09747, allocations: 311.8 kB / 426.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.09765, allocations: 234.9 kB / 426.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.09809, allocations: 0.5867 MB / 427 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.09915, allocations: 1.37 MB / 428.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.09916, allocations: 0 / 428.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.32e-07/0.09917, allocations: 0 / 428.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.09918, allocations: 4 kB / 428.4 MB, free: 10.25 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01137/0.1106, allocations: 3.154 MB / 431.6 MB, free: 7.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1106, allocations: 8.031 kB / 431.6 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.1108, allocations: 131.2 kB / 431.7 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.1111, allocations: 135.4 kB / 431.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000897/0.112, allocations: 0.6872 MB / 432.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.112, allocations: 70.38 kB / 432.6 MB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.1122, allocations: 100.4 kB / 432.7 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.1142, allocations: 1.346 MB / 434 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1142, allocations: 0 / 434 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.1143, allocations: 40 kB / 434.1 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.1143, allocations: 20 kB / 434.1 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.1161, allocations: 1.281 MB / 435.4 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/0.2418, allocations: 5.227 MB / 440.6 MB, free: 54.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.2438, allocations: 3.108 MB / 443.7 MB, free: 52.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009561/0.2448, allocations: 0.9819 MB / 444.7 MB, free: 52.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.2449, allocations: 30.48 kB / 444.7 MB, free: 52.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.245, allocations: 61.77 kB / 444.8 MB, free: 52.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 2.765e-06/0.245, allocations: 0 / 444.8 MB, free: 52.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.02357/0.2686, allocations: 7.065 MB / 451.8 MB, free: 50.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2686, allocations: 124.1 kB / 452 MB, free: 50.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005534/0.2692, allocations: 0.6453 MB / 452.6 MB, free: 49.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.697e-05/0.2693, allocations: 65.23 kB / 452.7 MB, free: 49.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.2694, allocations: 331 kB / 453 MB, free: 49.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.2696, allocations: 0.4895 MB / 453.5 MB, free: 49.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/0.27, allocations: 276.2 kB / 453.7 MB, free: 49.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.2701, allocations: 345.1 kB / 454.1 MB, free: 48.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.2711, allocations: 0.8619 MB / 454.9 MB, free: 48.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.2721, allocations: 0.9835 MB / 455.9 MB, free: 48.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.2743, allocations: 1.94 MB / 457.9 MB, free: 47.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2743, allocations: 0 / 457.9 MB, free: 47.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008308/0.2826, allocations: 3.816 MB / 461.7 MB, free: 45.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2827, allocations: 7.156 kB / 461.7 MB, free: 45.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2827, allocations: 0 / 461.7 MB, free: 45.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009919/0.2926, allocations: 3.936 MB / 465.6 MB, free: 45.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/0.2934, allocations: 226.2 kB / 465.8 MB, free: 45.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1003/0.3936, allocations: 10.44 MB / 476.3 MB, free: 39.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.3948, allocations: 138.4 kB / 476.4 MB, free: 39.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.3949, allocations: 53.59 kB / 476.5 MB, free: 39.18 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,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004206/0.3953, allocations: 262.4 kB / 476.7 MB, free: 38.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.3955, allocations: 111.8 kB / 476.8 MB, free: 38.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008889/0.4044, allocations: 3.801 MB / 480.6 MB, free: 37.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.4045, allocations: 16.47 kB / 480.7 MB, free: 37.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.4045, allocations: 0 / 480.7 MB, free: 37.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.4045, allocations: 11.94 kB / 480.7 MB, free: 37.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.4146, allocations: 5.322 MB / 486 MB, free: 35.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4147, allocations: 1.125 kB / 486 MB, free: 35.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.4152, allocations: 175.7 kB / 486.2 MB, free: 35.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009794/0.425, allocations: 2.723 MB / 488.9 MB, free: 34.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/0.4252, allocations: 38.5 kB / 488.9 MB, free: 34.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/0.4428, allocations: 10.24 MB / 499.2 MB, free: 28.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4428, allocations: 0 / 499.2 MB, free: 28.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008845/0.4517, allocations: 3.663 MB / 0.491 GB, free: 26.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.452, allocations: 207.2 kB / 0.4912 GB, free: 26.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.4521, allocations: 27.94 kB / 0.4913 GB, free: 26.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008804/0.453, allocations: 91.25 kB / 0.4914 GB, free: 26.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004798/0.4535, allocations: 121.5 kB / 0.4915 GB, free: 26.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.4536, allocations: 55.8 kB / 0.4915 GB, free: 26.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004912/0.4541, allocations: 434.5 kB / 0.4919 GB, free: 26.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4541, allocations: 4 kB / 0.4919 GB, free: 26.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001174/0.4553, allocations: 0.5349 MB / 0.4925 GB, free: 25.54 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 (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.00838/0.4637, allocations: 4.276 MB / 0.4966 GB, free: 21.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00581/0.4695, allocations: 3.126 MB / 0.4997 GB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4695, allocations: 0.6562 kB / 0.4997 GB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004371/0.4739, allocations: 2.064 MB / 0.5017 GB, free: 16.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/0.4747, allocations: 144.9 kB / 0.5018 GB, free: 16.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/0.498, allocations: 14.91 MB / 0.5164 GB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.4984, allocations: 1.088 MB / 0.5175 GB, free: 260 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004705/0.4989, allocations: 147.5 kB / 0.5176 GB, free: 112 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/0.4995, allocations: 416.8 kB / 0.518 GB, free: 15.75 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4995, allocations: 0 / 0.518 GB, free: 15.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3302/0.8297, allocations: 43.22 MB / 0.5602 GB, free: 4.742 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.8299, allocations: 223 kB / 0.5604 GB, free: 4.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/3.352, allocations: 3.938 kB / 0.5604 GB, free: 4.488 MB / 414.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)