Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.001035/0.001035, allocations: 110.7 kB / 16.62 MB, free: 6.809 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.001078/0.001078, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.357/1.357, allocations: 222.9 MB / 241.2 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1872/0.1872, allocations: 38.03 MB / 329.4 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001507, allocations: 62.17 kB / 398.4 MB, free: 34.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1177, allocations: 58.07 MB / 456.4 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006313/0.124, allocations: 5.201 MB / 461.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002996/0.1271, allocations: 1.737 MB / 463.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.1274, allocations: 31.81 kB / 463.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008125/0.1283, allocations: 263 kB / 463.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.1289, allocations: 239 kB / 463.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.1295, allocations: 235.6 kB / 464.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006051/0.1301, allocations: 0.6195 MB / 464.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.1306, allocations: 264.3 kB / 465 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.1309, allocations: 262.9 kB / 465.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.1313, allocations: 358.8 kB / 465.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.1314, allocations: 36 kB / 465.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.1316, allocations: 135.8 kB / 465.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.1318, allocations: 219.5 kB / 466 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.132, allocations: 246.8 kB / 466.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.1326, allocations: 0.5995 MB / 466.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1326, allocations: 0 / 466.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1326, allocations: 0 / 466.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1326, allocations: 0 / 466.8 MB, free: 13.84 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001296/0.1339, allocations: 0.7737 MB / 467.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.134, allocations: 15.89 kB / 467.6 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.76e-05/0.134, allocations: 82.7 kB / 467.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005723/0.1346, allocations: 92.31 kB / 467.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.1352, allocations: 396 kB / 468.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1352, allocations: 33.31 kB / 468.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.1354, allocations: 59.91 kB / 468.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008814/0.1363, allocations: 0.6599 MB / 468.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1363, allocations: 0 / 468.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.1364, allocations: 19.98 kB / 469 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.1365, allocations: 48.97 kB / 469 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.1373, allocations: 0.4916 MB / 469.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.1403, allocations: 3.152 MB / 472.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.1408, allocations: 245.3 kB / 472.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.141, allocations: 121.7 kB / 473 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.141, allocations: 7.984 kB / 473 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.141, allocations: 38.55 kB / 473.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.141, allocations: 0 / 473.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001445/0.1425, allocations: 0.8896 MB / 473.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.1426, allocations: 77.11 kB / 474 MB, free: 6.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.1429, allocations: 332.4 kB / 474.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.1429, allocations: 29.83 kB / 474.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.1432, allocations: 303 kB / 474.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.225e-05/0.1432, allocations: 82.81 kB / 474.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.1434, allocations: 89.97 kB / 474.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1435, allocations: 350.7 kB / 475.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.1437, allocations: 128.8 kB / 475.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.144, allocations: 329.1 kB / 475.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.1446, allocations: 0.4933 MB / 476.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1446, allocations: 0 / 476.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001007/0.1456, allocations: 0.6 MB / 476.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1456, allocations: 8 kB / 476.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005771/0.1462, allocations: 329.3 kB / 477.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000442/0.1467, allocations: 122 kB / 477.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.147, allocations: 83.83 kB / 477.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/0.1498, allocations: 3.289 MB / 480.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.1501, allocations: 15.98 kB / 480.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.1501, allocations: 24 kB / 480.6 MB, free: 15.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * 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.0002795/0.1504, allocations: 217.7 kB / 480.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.1505, allocations: 27.62 kB / 480.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.151, allocations: 324.8 kB / 481.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.151, allocations: 4 kB / 481.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.151, allocations: 3.938 kB / 481.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1511, allocations: 7.984 kB / 481.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.1522, allocations: 0.7966 MB / 481.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1522, allocations: 0 / 481.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.1525, allocations: 59.84 kB / 482 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1526, allocations: 4 kB / 482 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.1526, allocations: 11.98 kB / 482 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1526, allocations: 0 / 482 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1526, allocations: 8.062 kB / 482 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.1532, allocations: 0.503 MB / 482.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.1534, allocations: 124.7 kB / 482.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.1534, allocations: 8 kB / 482.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.1536, allocations: 15.98 kB / 482.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.1537, allocations: 11.98 kB / 482.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1537, allocations: 12 kB / 482.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.1539, allocations: 223 kB / 482.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1539, allocations: 3.938 kB / 482.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.1544, allocations: 96 kB / 483 MB, free: 12.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * Array equations: 0 * 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.0008496/0.1552, allocations: 1.051 MB / 484.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009708/0.1562, allocations: 0.6134 MB / 484.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1562, allocations: 0 / 484.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.1564, allocations: 131.8 kB / 484.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.157, allocations: 78.12 kB / 484.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/0.1622, allocations: 4.243 MB / 489.1 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.1627, allocations: 0.8699 MB / 490 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003239/0.163, allocations: 115.2 kB / 490.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.1632, allocations: 147.4 kB / 490.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1633, allocations: 0 / 490.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.1874, allocations: 7.407 MB / 497.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/0.1876, allocations: 222.7 kB / 497.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.194, allocations: 0 / 497.9 MB, free: 13.45 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)