Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",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.001028/0.001028, allocations: 92.53 kB / 16.3 MB, free: 5.523 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.00107/0.00107, allocations: 184.9 kB / 17.2 MB, free: 5.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1726/0.1726, allocations: 38.05 MB / 309.7 MB, free: 6.129 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004842, allocations: 15.12 kB / 376.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 56.33 MB / 432.9 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.003934/0.2207, allocations: 5.113 MB / 438 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.223, allocations: 1.938 MB / 440 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.2233, allocations: 31.81 kB / 440 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.2236, allocations: 131.2 kB / 440.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005795/0.2242, allocations: 307 kB / 440.4 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.2249, allocations: 335.3 kB / 440.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.2253, allocations: 431.5 kB / 441.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006651/0.226, allocations: 0.5632 MB / 441.7 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.2263, allocations: 263 kB / 442 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.2266, allocations: 339 kB / 442.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.2267, allocations: 28 kB / 442.3 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.2269, allocations: 107.8 kB / 442.5 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.2271, allocations: 239.4 kB / 442.7 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.009e-05/0.2272, allocations: 129.4 kB / 442.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.2276, allocations: 0.6079 MB / 443.4 MB, free: 8.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.2276, allocations: 3.938 kB / 443.4 MB, free: 8.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2276, allocations: 0 / 443.4 MB, free: 8.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2276, allocations: 0 / 443.4 MB, free: 8.23 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001203/0.2288, allocations: 0.8083 MB / 444.2 MB, free: 7.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2288, allocations: 8.031 kB / 444.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.332e-05/0.2289, allocations: 94.5 kB / 444.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009121/0.2299, allocations: 143.1 kB / 444.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.2307, allocations: 0.4953 MB / 445 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.2307, allocations: 48.88 kB / 445 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/0.231, allocations: 123.8 kB / 445.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009297/0.2319, allocations: 0.8548 MB / 446 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.232, allocations: 4 kB / 446 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.232, allocations: 16 kB / 446 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000425/0.2325, allocations: 80.88 kB / 446.1 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007467/0.2332, allocations: 0.6126 MB / 446.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.2367, allocations: 3.789 MB / 450.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008408/0.2376, allocations: 0.5302 MB / 451 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.2376, allocations: 20.41 kB / 451 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.2377, allocations: 35 kB / 451.1 MB, free: 224 kB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/0.2377, allocations: 0 / 451.1 MB, free: 224 kB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.002905/0.2406, allocations: 1.825 MB / 452.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.2407, allocations: 81.55 kB / 453 MB, free: 14.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.2411, allocations: 425.7 kB / 453.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.2412, allocations: 33.64 kB / 453.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.2414, allocations: 331.6 kB / 453.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.2416, allocations: 197.2 kB / 453.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.2417, allocations: 16 kB / 454 MB, free: 13.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2418, allocations: 370.8 kB / 454.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.2424, allocations: 381.4 kB / 454.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006839/0.2431, allocations: 0.5901 MB / 455.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.2438, allocations: 469.8 kB / 455.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2438, allocations: 0 / 455.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004243/0.248, allocations: 1.995 MB / 457.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.2481, allocations: 8.656 kB / 457.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.2481, allocations: 8 kB / 457.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.2506, allocations: 0.9611 MB / 458.7 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.2511, allocations: 119.8 kB / 458.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.2616, allocations: 7.641 MB / 466.5 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.2622, allocations: 39.97 kB / 466.5 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/0.2623, allocations: 36.23 kB / 466.5 MB, free: 260 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(23,24.6%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003762/0.2627, allocations: 241.6 kB / 466.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2628, allocations: 51.55 kB / 466.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.264, allocations: 0.7256 MB / 467.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.2641, allocations: 7.953 kB / 467.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2641, allocations: 4 kB / 467.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.2641, allocations: 3.984 kB / 467.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.2667, allocations: 1.517 MB / 469.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.2667, allocations: 4 kB / 469.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.2678, allocations: 191.7 kB / 469.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.2678, allocations: 7.938 kB / 469.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.2678, allocations: 35.92 kB / 469.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.2679, allocations: 4 kB / 469.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2679, allocations: 0 / 469.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.2692, allocations: 1.028 MB / 470.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.2694, allocations: 128.5 kB / 470.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.2695, allocations: 31.98 kB / 470.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.2698, allocations: 27.97 kB / 470.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.2699, allocations: 32.34 kB / 470.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.27, allocations: 16 kB / 470.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002848/0.2703, allocations: 283.1 kB / 470.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2703, allocations: 0 / 470.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008181/0.2711, allocations: 208 kB / 471.1 MB, free: 11.58 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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.001703/0.2728, allocations: 1.883 MB / 473 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.2752, allocations: 1.449 MB / 474.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2752, allocations: 4 kB / 474.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.2756, allocations: 307 kB / 474.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.2762, allocations: 110.1 kB / 474.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.2886, allocations: 11.78 MB / 486.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.2893, allocations: 0.9998 MB / 487.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005724/0.2898, allocations: 208.6 kB / 487.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.2902, allocations: 231.4 kB / 488 MB, free: 10.31 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2902, allocations: 0 / 488 MB, free: 10.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.3214, allocations: 16.42 MB / 0.4926 GB, free: 9.914 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.3216, allocations: 185.4 kB / 0.4928 GB, free: 9.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.241, allocations: 0 / 0.4928 GB, free: 9.68 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) Environment - environmentSimulation: