Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",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.001317/0.001317, allocations: 108 kB / 16.45 MB, free: 6.438 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.001214/0.001214, allocations: 188.1 kB / 17.38 MB, free: 5.688 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.405/1.405, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05046/0.05046, allocations: 8.105 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003039/0.003039, allocations: 63.88 kB / 414 MB, free: 22.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1169, allocations: 51.51 MB / 465.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.00418/0.1211, allocations: 2.832 MB / 468.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.1237, allocations: 1.656 MB / 470 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1239, allocations: 8 kB / 470 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.1243, allocations: 179 kB / 470.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005531/0.1249, allocations: 230.5 kB / 470.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.1274, allocations: 1.249 MB / 471.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008228/0.1283, allocations: 493.6 kB / 472.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.1286, allocations: 177.2 kB / 472.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.1289, allocations: 199.3 kB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004424/0.1293, allocations: 274.9 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.539e-05/0.1294, allocations: 40 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/0.1301, allocations: 279.7 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1302, allocations: 95.62 kB / 473.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.1305, allocations: 242.8 kB / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009119/0.1314, allocations: 0.6694 MB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1314, allocations: 0 / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1314, allocations: 0 / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1315, allocations: 4 kB / 474.1 MB, free: 10.14 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005811/0.1373, allocations: 1.524 MB / 475.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1373, allocations: 15.89 kB / 475.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.1374, allocations: 74.72 kB / 475.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.1376, allocations: 60.61 kB / 475.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.1381, allocations: 343.6 kB / 476.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.1381, allocations: 33.31 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.031e-05/0.1382, allocations: 48.38 kB / 476.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000952/0.1392, allocations: 0.5776 MB / 476.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1392, allocations: 3.938 kB / 476.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.1392, allocations: 16 kB / 476.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.1393, allocations: 8 kB / 476.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008743/0.1401, allocations: 0.5349 MB / 477.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00335/0.1435, allocations: 2.269 MB / 479.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.1448, allocations: 0.8414 MB / 480.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/0.1453, allocations: 326.1 kB / 480.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.134e-05/0.1454, allocations: 16.42 kB / 480.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.261e-05/0.1455, allocations: 42.94 kB / 480.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.585e-06/0.1455, allocations: 0 / 480.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.007679/0.1532, allocations: 2.03 MB / 482.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.1533, allocations: 115.2 kB / 482.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.1537, allocations: 274.9 kB / 483.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.221e-05/0.1538, allocations: 37.7 kB / 483.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.1539, allocations: 185.6 kB / 483.4 MB, free: 320 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.1541, allocations: 198.3 kB / 483.6 MB, free: 120 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.1543, allocations: 118.4 kB / 483.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1545, allocations: 346.8 kB / 484.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.155, allocations: 325.2 kB / 484.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.1556, allocations: 377.7 kB / 484.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.1568, allocations: 0.7172 MB / 485.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.1568, allocations: 0 / 485.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003873/0.1607, allocations: 1.344 MB / 486.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1607, allocations: 4 kB / 486.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1607, allocations: 11.94 kB / 486.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003743/0.1645, allocations: 0.7846 MB / 487.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.165, allocations: 95.89 kB / 487.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00816/0.1731, allocations: 4.178 MB / 491.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.1738, allocations: 67.5 kB / 492 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.1739, allocations: 20.16 kB / 492 MB, free: 7.586 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003096/0.1742, allocations: 177.6 kB / 492.2 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.1743, allocations: 39.77 kB / 492.2 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.1782, allocations: 1.315 MB / 493.5 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.1782, allocations: 8 kB / 493.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1782, allocations: 0 / 493.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1782, allocations: 3.984 kB / 493.5 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004548/0.1828, allocations: 1.981 MB / 495.5 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1828, allocations: 4 kB / 495.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.1831, allocations: 75.91 kB / 495.6 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003506/0.1866, allocations: 0.7531 MB / 496.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.419e-05/0.1867, allocations: 12 kB / 496.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00782/0.1945, allocations: 4.122 MB / 0.4887 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1945, allocations: 7.875 kB / 0.4887 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/0.1983, allocations: 1.312 MB / 0.49 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.1985, allocations: 128.7 kB / 0.4901 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.579e-05/0.1986, allocations: 15.94 kB / 0.4902 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.199, allocations: 26.73 kB / 0.4902 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.1991, allocations: 44.5 kB / 0.4902 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.1992, allocations: 16 kB / 0.4902 GB, free: 13.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00024/0.1994, allocations: 190 kB / 0.4904 GB, free: 13.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1995, allocations: 0 / 0.4904 GB, free: 13.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006961/0.2002, allocations: 211.8 kB / 0.4906 GB, free: 12.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004026/0.2042, allocations: 1.868 MB / 0.4925 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002793/0.207, allocations: 1.131 MB / 0.4936 GB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.207, allocations: 0 / 0.4936 GB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.209, allocations: 0.7163 MB / 0.4943 GB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.2094, allocations: 48.86 kB / 0.4943 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.2207, allocations: 5.516 MB / 0.4997 GB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.2212, allocations: 0.8218 MB / 0.5005 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.2215, allocations: 63.22 kB / 0.5006 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.2217, allocations: 143.4 kB / 0.5007 GB, free: 2.43 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2218, allocations: 0 / 0.5007 GB, free: 2.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2449/0.4667, allocations: 15.99 MB / 0.5163 GB, free: 43.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.49, allocations: 4.438 kB / 0.5163 GB, free: 43.68 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)