Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",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.005121/0.005121, allocations: 93.66 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.001047/0.001047, allocations: 196.8 kB / 16.84 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.245/1.245, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1461/0.1461, allocations: 8.081 MB / 298.7 MB, free: 2.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.91 kB / 361.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08778/0.08896, allocations: 51.52 MB / 412.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004388/0.09337, allocations: 3.724 MB / 416.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.09581, allocations: 1.82 MB / 418.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.09613, allocations: 12 kB / 418.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004643/0.09662, allocations: 171.2 kB / 418.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007062/0.09733, allocations: 298.3 kB / 418.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.09948, allocations: 1.253 MB / 419.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007591/0.1002, allocations: 0.6764 MB / 420.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.1005, allocations: 218.3 kB / 420.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1008, allocations: 270.9 kB / 421.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.1011, allocations: 370.4 kB / 421.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.164e-05/0.1012, allocations: 44 kB / 421.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.1016, allocations: 275.8 kB / 421.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.162e-05/0.1017, allocations: 127.4 kB / 421.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.102, allocations: 326.3 kB / 422.2 MB, free: 480 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007259/0.1027, allocations: 0.8527 MB / 423.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1027, allocations: 0 / 423.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.1028, allocations: 0 / 423.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1028, allocations: 4 kB / 423.1 MB, free: 15.61 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006697/0.1095, allocations: 1.918 MB / 425 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1095, allocations: 8.031 kB / 425 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.1096, allocations: 98.64 kB / 425.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.1098, allocations: 68.19 kB / 425.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.1103, allocations: 441.9 kB / 425.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1103, allocations: 45.38 kB / 425.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-05/0.1104, allocations: 60.38 kB / 425.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.1115, allocations: 0.761 MB / 426.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1115, allocations: 3.938 kB / 426.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.1116, allocations: 24 kB / 426.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1116, allocations: 12 kB / 426.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009568/0.1125, allocations: 0.6833 MB / 427.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003491/0.116, allocations: 2.961 MB / 430.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.1174, allocations: 1.303 MB / 431.4 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/0.118, allocations: 474.7 kB / 431.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.419e-05/0.1181, allocations: 20.62 kB / 431.9 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1181, allocations: 39.22 kB / 432 MB, free: 6.195 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 1.723e-06/0.1181, allocations: 4 kB / 432 MB, free: 6.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01393/0.1321, allocations: 3.452 MB / 435.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.1322, allocations: 115.5 kB / 435.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.1326, allocations: 381.5 kB / 435.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.472e-05/0.1327, allocations: 45.7 kB / 435.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1328, allocations: 229.1 kB / 436.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.133, allocations: 248.3 kB / 436.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.1333, allocations: 154.6 kB / 436.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1334, allocations: 366.7 kB / 436.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/0.1341, allocations: 445.9 kB / 437.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.1348, allocations: 0.5053 MB / 437.9 MB, free: 196 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1372/0.272, allocations: 0.9833 MB / 438.8 MB, free: 56.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.272, allocations: 0 / 438.8 MB, free: 56.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00487/0.2769, allocations: 1.977 MB / 440.8 MB, free: 56.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2769, allocations: 9.844 kB / 440.8 MB, free: 56.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2769, allocations: 0 / 440.8 MB, free: 56.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005595/0.2825, allocations: 1.519 MB / 442.3 MB, free: 56.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.2829, allocations: 131.4 kB / 442.5 MB, free: 56.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009052/0.292, allocations: 5.453 MB / 447.9 MB, free: 53.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.2925, allocations: 80.14 kB / 448 MB, free: 53.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/0.2926, allocations: 32.44 kB / 448 MB, free: 53.24 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 (75): * Single equations (assignments): 74 * 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 {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.2929, allocations: 187 kB / 448.2 MB, free: 53.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.293, allocations: 59.3 kB / 448.3 MB, free: 53.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.2977, allocations: 1.922 MB / 450.2 MB, free: 52.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2977, allocations: 9.594 kB / 450.2 MB, free: 52.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2977, allocations: 0 / 450.2 MB, free: 52.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2977, allocations: 3.422 kB / 450.2 MB, free: 52.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/0.3029, allocations: 2.765 MB / 453 MB, free: 51.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3029, allocations: 0 / 453 MB, free: 51.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.3032, allocations: 94.16 kB / 453.1 MB, free: 51.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005054/0.3082, allocations: 1.286 MB / 454.4 MB, free: 50.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/0.3083, allocations: 18.89 kB / 454.4 MB, free: 50.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008376/0.3167, allocations: 5.365 MB / 459.7 MB, free: 47.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3167, allocations: 0 / 459.7 MB, free: 47.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/0.3212, allocations: 1.906 MB / 461.6 MB, free: 46.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.3213, allocations: 135.9 kB / 461.8 MB, free: 46.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.3214, allocations: 21.94 kB / 461.8 MB, free: 46.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.3219, allocations: 45.14 kB / 461.8 MB, free: 46.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.3221, allocations: 66.11 kB / 461.9 MB, free: 46.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.3221, allocations: 26.66 kB / 461.9 MB, free: 46.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.3223, allocations: 269.2 kB / 462.2 MB, free: 46.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3223, allocations: 0 / 462.2 MB, free: 46.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000725/0.3231, allocations: 291.8 kB / 462.5 MB, free: 46.46 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 (55): * Single equations (assignments): 54 * 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 {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004608/0.3277, allocations: 2.469 MB / 464.9 MB, free: 45.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003219/0.3309, allocations: 1.606 MB / 466.6 MB, free: 44.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3309, allocations: 0 / 466.6 MB, free: 44.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.3333, allocations: 1.063 MB / 467.6 MB, free: 44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.3338, allocations: 68.66 kB / 467.7 MB, free: 43.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.347, allocations: 7.968 MB / 475.7 MB, free: 39.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3473, allocations: 0.8919 MB / 476.5 MB, free: 39.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002672/0.3476, allocations: 78.67 kB / 476.6 MB, free: 39.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.3478, allocations: 219.9 kB / 476.8 MB, free: 39.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3478, allocations: 0 / 476.8 MB, free: 39.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7749/1.123, allocations: 21.82 MB / 498.7 MB, free: 32.41 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/1.123, allocations: 229.9 kB / 498.9 MB, free: 32.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/3.093, allocations: 4.062 kB / 498.9 MB, free: 32.16 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)