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 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.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.001236/0.001236, allocations: 111.9 kB / 17.06 MB, free: 6.004 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.001237/0.001237, allocations: 198.9 kB / 18 MB, free: 5.082 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.462/1.462, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1843/0.1843, allocations: 37.98 MB / 309.2 MB, free: 5.949 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.001614/0.001614, allocations: 71.89 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1085, allocations: 55.24 MB / 486.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006553/0.1151, allocations: 4.393 MB / 491 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1178, allocations: 1.563 MB / 492.6 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.1183, allocations: 15.88 kB / 492.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1193, allocations: 282.7 kB / 492.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000836/0.1202, allocations: 286.6 kB / 493.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007978/0.121, allocations: 247.4 kB / 493.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009158/0.1219, allocations: 0.6157 MB / 494 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.1224, allocations: 227.8 kB / 494.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005892/0.123, allocations: 271 kB / 494.5 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000799/0.1238, allocations: 366.9 kB / 494.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.124, allocations: 40 kB / 494.9 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005841/0.1246, allocations: 223.6 kB / 495.1 MB, free: 324 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.1249, allocations: 231.4 kB / 495.3 MB, free: 92 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.1254, allocations: 258.8 kB / 495.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.1265, allocations: 0.6658 MB / 496.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1265, allocations: 4 kB / 496.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1265, allocations: 0 / 496.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.744e-05/0.1265, allocations: 0 / 496.2 MB, free: 15.16 MB / 382.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.002237/0.1288, allocations: 0.766 MB / 497 MB, free: 14.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.628e-05/0.1289, allocations: 19.89 kB / 497 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002144/0.1291, allocations: 90.62 kB / 497.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008412/0.1299, allocations: 92.22 kB / 497.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009207/0.1309, allocations: 419.2 kB / 497.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.1309, allocations: 25.38 kB / 497.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.1311, allocations: 51.91 kB / 497.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.1322, allocations: 0.6992 MB / 498.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.1322, allocations: 4 kB / 498.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.1323, allocations: 12 kB / 498.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/0.1325, allocations: 68.94 kB / 498.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1335, allocations: 0.6713 MB / 499.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004005/0.1375, allocations: 2.65 MB / 0.49 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.1381, allocations: 314.5 kB / 0.4903 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.1384, allocations: 209.7 kB / 0.4905 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.1385, allocations: 12 kB / 0.4906 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.1385, allocations: 38.55 kB / 0.4906 GB, free: 8.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 3.287e-06/0.1386, allocations: 0 / 0.4906 GB, free: 8.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002205/0.1408, allocations: 1.291 MB / 0.4918 GB, free: 7.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.1408, allocations: 81.11 kB / 0.4919 GB, free: 7.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1411, allocations: 303.2 kB / 0.4922 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1412, allocations: 29.7 kB / 0.4922 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1413, allocations: 247.7 kB / 0.4925 GB, free: 6.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1414, allocations: 142 kB / 0.4926 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.1416, allocations: 82.03 kB / 0.4927 GB, free: 6.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1417, allocations: 350.7 kB / 0.493 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.142, allocations: 188.9 kB / 0.4932 GB, free: 5.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.1423, allocations: 329.2 kB / 0.4935 GB, free: 5.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.143, allocations: 0.5546 MB / 0.4941 GB, free: 4.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1431, allocations: 4 kB / 0.4941 GB, free: 4.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001216/0.1443, allocations: 0.6819 MB / 0.4947 GB, free: 4.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1443, allocations: 4 kB / 0.4947 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007507/0.1451, allocations: 491.5 kB / 0.4952 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/0.1455, allocations: 109.9 kB / 0.4953 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.1458, allocations: 95.81 kB / 0.4954 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.1486, allocations: 3.254 MB / 0.4986 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.1488, allocations: 24.03 kB / 0.4986 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.1489, allocations: 20 kB / 0.4986 GB, free: 15.97 MB / 398.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.000244/0.1492, allocations: 209.5 kB / 0.4988 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-05/0.1493, allocations: 35.53 kB / 0.4989 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.1499, allocations: 468.8 kB / 0.4993 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.15, allocations: 12 kB / 0.4993 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.15, allocations: 3.938 kB / 0.4993 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.15, allocations: 3.984 kB / 0.4993 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.1514, allocations: 1.015 MB / 0.5003 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1514, allocations: 64 / 0.5003 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.1518, allocations: 71.89 kB / 0.5004 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.1518, allocations: 3.938 kB / 0.5004 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.1518, allocations: 19.92 kB / 0.5004 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1518, allocations: 7.938 kB / 0.5004 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1519, allocations: 3.984 kB / 0.5004 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009034/0.1528, allocations: 0.7435 MB / 0.5011 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.153, allocations: 140.6 kB / 0.5013 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.153, allocations: 11.98 kB / 0.5013 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.1532, allocations: 15.98 kB / 0.5013 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.1533, allocations: 15.97 kB / 0.5013 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.1533, allocations: 12.23 kB / 0.5013 GB, free: 13.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.1535, allocations: 203.1 kB / 0.5015 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1535, allocations: 0 / 0.5015 GB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004956/0.154, allocations: 124 kB / 0.5016 GB, free: 12.75 MB / 398.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.001364/0.1554, allocations: 1.324 MB / 0.5029 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1565, allocations: 0.713 MB / 0.5036 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1565, allocations: 0 / 0.5036 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.1568, allocations: 212.4 kB / 0.5038 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.1573, allocations: 80.84 kB / 0.5039 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.1628, allocations: 4.39 MB / 0.5082 GB, free: 5.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.1632, allocations: 0.8743 MB / 0.5091 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002554/0.1635, allocations: 103.2 kB / 0.5091 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.1637, allocations: 147.4 kB / 0.5093 GB, free: 4.613 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1637, allocations: 4 kB / 0.5093 GB, free: 4.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.1932, allocations: 8.275 MB / 0.5174 GB, free: 12.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.634/9.827, allocations: 4 kB / 0.5174 GB, free: 12.27 MB / 414.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)