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.001511/0.001511, allocations: 104.4 kB / 16.31 MB, free: 5.879 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.001745/0.001745, allocations: 190.7 kB / 17.24 MB, free: 5.539 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05973/0.05973, allocations: 8.104 MB / 299.2 MB, free: 6.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.89 kB / 361.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2045, allocations: 51.5 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003739/0.2082, allocations: 3.723 MB / 417.1 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.2103, allocations: 1.814 MB / 418.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.2106, allocations: 12 kB / 418.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.211, allocations: 210.6 kB / 419.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006124/0.2117, allocations: 337.8 kB / 419.4 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.2135, allocations: 1.287 MB / 420.7 MB, free: 18.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.214, allocations: 0.7036 MB / 421.4 MB, free: 17.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.2143, allocations: 261.3 kB / 421.7 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.2146, allocations: 294.9 kB / 422 MB, free: 16.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.215, allocations: 374.4 kB / 422.3 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.2151, allocations: 56 kB / 422.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/0.2156, allocations: 291.8 kB / 422.7 MB, free: 16.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.174e-05/0.2157, allocations: 143.5 kB / 422.8 MB, free: 16.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.216, allocations: 346.2 kB / 423.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.2167, allocations: 0.8684 MB / 424 MB, free: 14.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2167, allocations: 3.938 kB / 424 MB, free: 14.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2167, allocations: 0 / 424 MB, free: 14.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.2167, allocations: 0 / 424 MB, free: 14.88 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006622/0.2233, allocations: 1.915 MB / 425.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.2234, allocations: 11.89 kB / 425.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.2235, allocations: 94.7 kB / 426 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.2237, allocations: 72.19 kB / 426.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.2241, allocations: 441.9 kB / 426.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.2242, allocations: 41.38 kB / 426.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-05/0.2243, allocations: 60.38 kB / 426.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/0.2252, allocations: 0.7611 MB / 427.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2252, allocations: 3.938 kB / 427.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.2253, allocations: 20 kB / 427.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2253, allocations: 12 kB / 427.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008659/0.2262, allocations: 0.6872 MB / 428.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.2295, allocations: 2.958 MB / 431.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.2308, allocations: 1.306 MB / 432.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.2313, allocations: 474.7 kB / 432.9 MB, free: 5.531 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.715e-05/0.2314, allocations: 16.62 kB / 432.9 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.2314, allocations: 55.16 kB / 432.9 MB, free: 5.449 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/0.2314, allocations: 0 / 432.9 MB, free: 5.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.0127/0.2441, allocations: 3.44 MB / 436.4 MB, free: 1.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.2442, allocations: 111.5 kB / 436.5 MB, free: 1.844 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.2446, allocations: 381.5 kB / 436.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/0.2447, allocations: 45.7 kB / 436.9 MB, free: 1.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2448, allocations: 233 kB / 437.1 MB, free: 1.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.2449, allocations: 248.3 kB / 437.4 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.2452, allocations: 158.6 kB / 437.5 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.2452, allocations: 366.7 kB / 437.9 MB, free: 416 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.2458, allocations: 445.9 kB / 438.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/0.2465, allocations: 0.5091 MB / 438.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.248, allocations: 0.99 MB / 439.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.248, allocations: 0 / 439.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005377/0.2534, allocations: 1.976 MB / 441.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2534, allocations: 4 kB / 441.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2534, allocations: 0 / 441.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005777/0.2592, allocations: 1.531 MB / 443.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.2598, allocations: 127.9 kB / 443.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.2715, allocations: 5.98 MB / 449.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/0.2722, allocations: 75.34 kB / 449.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.812e-05/0.2723, allocations: 27.98 kB / 449.5 MB, free: 4.598 MB / 318.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.0003052/0.2726, allocations: 193.7 kB / 449.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.2728, allocations: 55.28 kB / 449.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005352/0.2781, allocations: 1.924 MB / 451.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.2782, allocations: 8 kB / 451.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2782, allocations: 7.938 kB / 451.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.2782, allocations: 3.984 kB / 451.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00626/0.2844, allocations: 2.766 MB / 454.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2845, allocations: 4 kB / 454.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.2848, allocations: 95.83 kB / 454.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005625/0.2904, allocations: 1.285 MB / 455.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.469e-05/0.2905, allocations: 19.98 kB / 455.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.3017, allocations: 5.889 MB / 461.8 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3017, allocations: 4 kB / 461.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/0.3071, allocations: 1.897 MB / 463.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.3072, allocations: 136.3 kB / 463.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.3074, allocations: 19.98 kB / 463.8 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/0.308, allocations: 43.97 kB / 463.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.3082, allocations: 60.91 kB / 463.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/0.3083, allocations: 24 kB / 463.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003227/0.3086, allocations: 263.2 kB / 464.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3086, allocations: 0 / 464.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008842/0.3095, allocations: 291.8 kB / 464.5 MB, free: 5.359 MB / 334.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.005537/0.3151, allocations: 2.473 MB / 467 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004317/0.3194, allocations: 1.668 MB / 468.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.3194, allocations: 4 kB / 468.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003038/0.3225, allocations: 1.084 MB / 469.7 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.3231, allocations: 73.55 kB / 469.8 MB, free: 0 / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/0.339, allocations: 7.744 MB / 477.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.3396, allocations: 0.8963 MB / 478.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.3399, allocations: 84.34 kB / 478.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.3402, allocations: 215.3 kB / 478.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3402, allocations: 0 / 478.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05678/0.397, allocations: 22.99 MB / 0.49 GB, free: 148 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.03, allocations: 11.8 kB / 0.49 GB, free: 136 kB / 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)