Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 173.8 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.4 MB / 222.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007382/0.0007385, allocations: 88.73 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.168/0.168, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 12 kB / 423.4 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2444, allocations: 56.31 MB / 479.7 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007059/0.2515, allocations: 6.873 MB / 486.6 MB, free: 4.594 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.2553, allocations: 2.249 MB / 488.8 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008583/0.2562, allocations: 50.56 kB / 488.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005262/0.2567, allocations: 134 kB / 489 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.2586, allocations: 0.5939 MB / 489.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009229/0.2595, allocations: 268.1 kB / 489.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.2613, allocations: 1.392 MB / 491.3 MB, free: 1.992 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.2628, allocations: 0.9497 MB / 492.2 MB, free: 1.469 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009277/0.2638, allocations: 426.2 kB / 492.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.265, allocations: 0.6043 MB / 493.2 MB, free: 1.117 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.2652, allocations: 39.25 kB / 493.3 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007881/0.266, allocations: 224.7 kB / 493.5 MB, free: 1.066 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005884/0.2666, allocations: 452.1 kB / 493.9 MB, free: 0.957 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004859/0.2671, allocations: 458.3 kB / 494.4 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.2683, allocations: 0.8734 MB / 495.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2683, allocations: 1 kB / 495.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2683, allocations: 0 / 495.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.2684, allocations: 0 / 495.3 MB, free: 0.4961 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001918/0.2703, allocations: 1.048 MB / 496.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2703, allocations: 10.23 kB / 496.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/0.2705, allocations: 144.9 kB / 496.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009257/0.2715, allocations: 166.4 kB / 496.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.2726, allocations: 0.5853 MB / 497.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.587e-05/0.2727, allocations: 72.61 kB / 497.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.2729, allocations: 101.1 kB / 497.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.2749, allocations: 1.162 MB / 498.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.2749, allocations: 2.5 kB / 498.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/0.275, allocations: 32 kB / 498.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/0.2752, allocations: 87.58 kB / 498.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.2768, allocations: 0.9907 MB / 499.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005697/0.2826, allocations: 4.375 MB / 0.4922 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.2838, allocations: 0.6229 MB / 0.4928 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/0.2842, allocations: 304.4 kB / 0.4931 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.2843, allocations: 14.03 kB / 0.4931 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.2843, allocations: 39.25 kB / 0.4932 GB, free: 9.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 2.725e-06/0.2843, allocations: 0 / 0.4932 GB, free: 9.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=64): time 0.003135/0.2875, allocations: 1.735 MB / 0.4949 GB, free: 8.914 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.2876, allocations: 88.16 kB / 0.4949 GB, free: 8.816 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.2883, allocations: 0.5336 MB / 0.4955 GB, free: 8.492 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.2883, allocations: 35.83 kB / 0.4955 GB, free: 8.453 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.2886, allocations: 447.6 kB / 0.4959 GB, free: 8.059 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.2888, allocations: 219 kB / 0.4961 GB, free: 7.871 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.2889, allocations: 15.66 kB / 0.4961 GB, free: 7.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.289, allocations: 380.7 kB / 0.4965 GB, free: 7.496 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.2895, allocations: 281.6 kB / 0.4968 GB, free: 7.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006993/0.2902, allocations: 0.6142 MB / 0.4974 GB, free: 6.781 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.2914, allocations: 0.9626 MB / 0.4983 GB, free: 6.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.2915, allocations: 2.75 kB / 0.4983 GB, free: 6.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002122/0.2936, allocations: 1.169 MB / 0.4995 GB, free: 5.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.2936, allocations: 11.75 kB / 0.4995 GB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001312/0.2949, allocations: 0.7083 MB / 0.5002 GB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007097/0.2957, allocations: 225.5 kB / 0.5004 GB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.2964, allocations: 219.7 kB / 0.5006 GB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/0.3009, allocations: 4.914 MB / 0.5054 GB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.3015, allocations: 28.14 kB / 0.5054 GB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.3016, allocations: 52.05 kB / 0.5055 GB, free: 15.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000556/0.3021, allocations: 349.3 kB / 0.5058 GB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3022, allocations: 71.14 kB / 0.5059 GB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.3033, allocations: 0.6538 MB / 0.5065 GB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3033, allocations: 4 kB / 0.5065 GB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3033, allocations: 0 / 0.5065 GB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.3034, allocations: 11.92 kB / 0.5065 GB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.3058, allocations: 1.535 MB / 0.508 GB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3058, allocations: 0 / 0.508 GB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/0.3066, allocations: 171.8 kB / 0.5082 GB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.3066, allocations: 8 kB / 0.5082 GB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.3066, allocations: 15.98 kB / 0.5082 GB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.3067, allocations: 8.391 kB / 0.5082 GB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3067, allocations: 7.938 kB / 0.5082 GB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.308, allocations: 1.018 MB / 0.5092 GB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.3084, allocations: 176.3 kB / 0.5094 GB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.756e-05/0.3084, allocations: 16 kB / 0.5094 GB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.3087, allocations: 23.92 kB / 0.5094 GB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.3089, allocations: 44.44 kB / 0.5095 GB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.3089, allocations: 23.98 kB / 0.5095 GB, free: 10.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000411/0.3094, allocations: 354.8 kB / 0.5098 GB, free: 10.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3094, allocations: 0 / 0.5098 GB, free: 10.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009236/0.3103, allocations: 220 kB / 0.51 GB, free: 10.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001714/0.312, allocations: 1.59 MB / 0.5116 GB, free: 8.777 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.3138, allocations: 1.098 MB / 0.5127 GB, free: 7.645 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.3138, allocations: 4.125 kB / 0.5127 GB, free: 7.641 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.3142, allocations: 311 kB / 0.513 GB, free: 7.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008796/0.3151, allocations: 145.7 kB / 0.5131 GB, free: 7.199 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007311/0.3224, allocations: 5.345 MB / 0.5183 GB, free: 1.609 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.3231, allocations: 1.063 MB / 0.5194 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.3235, allocations: 315.3 kB / 0.5197 GB, free: 216 kB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3235, allocations: 0 / 0.5197 GB, free: 216 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.139/4.463, allocations: 16.44 MB / 0.5357 GB, free: 15.75 MB / 378.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe 2>&1)