Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",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.001658/0.001658, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001859/0.001859, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.381/1.381, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1858/0.1858, allocations: 38.03 MB / 329.4 MB, free: 8.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.16 kB / 398.4 MB, free: 34.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1518, allocations: 58.05 MB / 456.4 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.00941/0.1613, allocations: 5.049 MB / 461.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.164, allocations: 1.706 MB / 463.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000446/0.1645, allocations: 23.81 kB / 463.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.1656, allocations: 268.2 kB / 463.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007835/0.1664, allocations: 258.9 kB / 463.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.1671, allocations: 223.6 kB / 464 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006746/0.1678, allocations: 0.6079 MB / 464.6 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004109/0.1682, allocations: 243.8 kB / 464.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004395/0.1687, allocations: 270.9 kB / 465.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006347/0.1693, allocations: 386.9 kB / 465.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1694, allocations: 40 kB / 465.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.17, allocations: 235.6 kB / 465.7 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.1703, allocations: 235.4 kB / 465.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.1707, allocations: 254.8 kB / 466.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1717, allocations: 0.6659 MB / 466.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1717, allocations: 0 / 466.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1717, allocations: 0 / 466.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.72e-05/0.1718, allocations: 0 / 466.9 MB, free: 13.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002019/0.1738, allocations: 0.7699 MB / 467.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.1738, allocations: 15.83 kB / 467.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.174, allocations: 94.69 kB / 467.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007417/0.1748, allocations: 92.2 kB / 467.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.1755, allocations: 403.2 kB / 468.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.1755, allocations: 21.38 kB / 468.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.1757, allocations: 59.84 kB / 468.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.1768, allocations: 0.6915 MB / 469 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.1768, allocations: 4 kB / 469 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.1769, allocations: 16 kB / 469 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002169/0.1771, allocations: 64.94 kB / 469.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1781, allocations: 0.6674 MB / 469.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.1817, allocations: 2.654 MB / 472.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.1822, allocations: 317.3 kB / 472.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.1825, allocations: 209.7 kB / 472.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.1825, allocations: 0 / 472.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1825, allocations: 34.56 kB / 472.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.873e-06/0.1826, allocations: 4 kB / 472.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00186/0.1844, allocations: 1.299 MB / 474.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.1845, allocations: 77.11 kB / 474.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.1847, allocations: 287.3 kB / 474.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1848, allocations: 33.7 kB / 474.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1849, allocations: 255.6 kB / 474.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/0.185, allocations: 146.1 kB / 475 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.1852, allocations: 82.12 kB / 475.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1853, allocations: 354.7 kB / 475.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.1855, allocations: 184.9 kB / 475.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.1859, allocations: 325.3 kB / 475.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.1865, allocations: 0.5584 MB / 476.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1865, allocations: 0 / 476.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001148/0.1877, allocations: 0.6899 MB / 477.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1877, allocations: 12 kB / 477.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007823/0.1885, allocations: 487.5 kB / 477.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004314/0.1889, allocations: 113.6 kB / 477.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.1893, allocations: 79.83 kB / 477.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.192, allocations: 3.27 MB / 481.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.1923, allocations: 19.89 kB / 481.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.1924, allocations: 23.98 kB / 481.2 MB, free: 14.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000278/0.1927, allocations: 205.7 kB / 481.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.1928, allocations: 35.61 kB / 481.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007347/0.1935, allocations: 472.6 kB / 481.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.1936, allocations: 12 kB / 481.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1936, allocations: 7.875 kB / 481.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1936, allocations: 0 / 481.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.1951, allocations: 1.013 MB / 482.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1951, allocations: 8 kB / 482.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.1955, allocations: 67.95 kB / 483 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.1955, allocations: 7.938 kB / 483 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.1955, allocations: 8 kB / 483 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1955, allocations: 0 / 483 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1955, allocations: 4 kB / 483 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009442/0.1965, allocations: 0.7473 MB / 483.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.1967, allocations: 136.7 kB / 483.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.1967, allocations: 11.94 kB / 483.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.197, allocations: 19.97 kB / 483.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.197, allocations: 19.98 kB / 483.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.197, allocations: 7.984 kB / 483.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1972, allocations: 207.1 kB / 484.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1972, allocations: 0 / 484.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005088/0.1978, allocations: 120 kB / 484.3 MB, free: 11.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.1991, allocations: 1.323 MB / 485.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.2005, allocations: 0.7914 MB / 486.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.2006, allocations: 0 / 486.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.2009, allocations: 216 kB / 486.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.2015, allocations: 70.67 kB / 486.7 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/0.2082, allocations: 4.567 MB / 491.2 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.209, allocations: 0.8743 MB / 492.1 MB, free: 3.324 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003722/0.2094, allocations: 103.2 kB / 492.2 MB, free: 3.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.2096, allocations: 143.4 kB / 492.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of SimCode: time 1.432e-06/0.2096, allocations: 0 / 492.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.2331, allocations: 7.884 MB / 0.4885 GB, free: 11.32 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.2333, allocations: 216.5 kB / 0.4887 GB, free: 11.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.236, allocations: 0 / 0.4887 GB, free: 11.07 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)