Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",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.001305/0.001305, allocations: 107.9 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.001306/0.001307, allocations: 186.4 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0579/0.0579, allocations: 8.1 MB / 299.3 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 63.89 kB / 414 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1303, allocations: 51.51 MB / 465.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002276/0.1326, allocations: 0.9366 MB / 466.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1342, allocations: 1.158 MB / 467.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.1342, allocations: 0 / 467.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.1345, allocations: 59.7 kB / 467.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1346, allocations: 27.84 kB / 467.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.11e-05/0.1347, allocations: 31.91 kB / 467.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.993e-05/0.1348, allocations: 51.73 kB / 467.7 MB, free: 452 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.135, allocations: 31.97 kB / 467.8 MB, free: 420 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.135, allocations: 23.91 kB / 467.8 MB, free: 396 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.1351, allocations: 31.8 kB / 467.8 MB, free: 364 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1351, allocations: 4 kB / 467.8 MB, free: 360 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1353, allocations: 59.92 kB / 467.9 MB, free: 300 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.1353, allocations: 15.92 kB / 467.9 MB, free: 284 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.1353, allocations: 27.86 kB / 467.9 MB, free: 256 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1356, allocations: 119.9 kB / 468 MB, free: 136 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1356, allocations: 0 / 468 MB, free: 136 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1356, allocations: 0 / 468 MB, free: 136 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1356, allocations: 0 / 468 MB, free: 136 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006539/0.1362, allocations: 387.1 kB / 468.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1363, allocations: 15.83 kB / 468.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.1364, allocations: 38.75 kB / 468.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.1364, allocations: 4.938 kB / 468.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1366, allocations: 176.3 kB / 468.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1366, allocations: 8.375 kB / 468.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1366, allocations: 12.31 kB / 468.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1368, allocations: 70.23 kB / 468.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1368, allocations: 7.922 kB / 468.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1368, allocations: 8 kB / 468.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1368, allocations: 0 / 468.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.053e-05/0.1369, allocations: 43.98 kB / 468.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.1375, allocations: 336.6 kB / 469.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.749e-05/0.1375, allocations: 34.56 kB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.1376, allocations: 4.859 kB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.1377, allocations: 85.16 kB / 469.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1377, allocations: 34.56 kB / 469.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1377, allocations: 3.938 kB / 469.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001718/0.1379, allocations: 53.58 kB / 469.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.138, allocations: 55.53 kB / 469.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1381, allocations: 117.8 kB / 469.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1381, allocations: 25.7 kB / 469.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.1382, allocations: 123.9 kB / 469.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.1382, allocations: 3.953 kB / 469.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.1382, allocations: 21.7 kB / 469.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1384, allocations: 318.8 kB / 470 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.1384, allocations: 11.98 kB / 470 MB, free: 13.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.1384, allocations: 16 kB / 470 MB, free: 13.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.447e-05/0.1385, allocations: 28.8 kB / 470 MB, free: 13.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1385, allocations: 0 / 470 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001042/0.1386, allocations: 65.67 kB / 470.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.1386, allocations: 4 kB / 470.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1387, allocations: 0 / 470.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1387, allocations: 3.938 kB / 470.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.1387, allocations: 8 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1388, allocations: 0 / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.1388, allocations: 7.953 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1388, allocations: 8 kB / 470.1 MB, free: 13.78 MB / 350.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.1389, allocations: 117.8 kB / 470.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.139, allocations: 4 kB / 470.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.1391, allocations: 45.38 kB / 470.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1391, allocations: 3.938 kB / 470.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.1391, allocations: 11.98 kB / 470.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1391, allocations: 3.938 kB / 470.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.1393, allocations: 165.7 kB / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1393, allocations: 4 kB / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.1393, allocations: 4.031 kB / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1393, allocations: 0 / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1393, allocations: 4 kB / 470.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1394, allocations: 3.938 kB / 470.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1394, allocations: 0 / 470.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.1395, allocations: 143.4 kB / 470.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1395, allocations: 81.11 kB / 470.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1396, allocations: 4.031 kB / 470.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.1396, allocations: 3.938 kB / 470.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.1396, allocations: 3.984 kB / 470.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1397, allocations: 0 / 470.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.179e-05/0.1397, allocations: 99.58 kB / 470.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1397, allocations: 3.938 kB / 470.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.14, allocations: 15.94 kB / 470.8 MB, free: 12.96 MB / 350.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0004684/0.1404, allocations: 0.685 MB / 471.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.1406, allocations: 16 kB / 471.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1406, allocations: 0 / 471.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.1406, allocations: 8 kB / 471.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.1408, allocations: 12.03 kB / 471.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.1413, allocations: 188.5 kB / 471.7 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.1417, allocations: 0.6922 MB / 472.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.19e-05/0.1418, allocations: 3.984 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.1418, allocations: 19.42 kB / 472.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1418, allocations: 0 / 472.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.1645, allocations: 1.604 MB / 474.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.088, allocations: 11.28 kB / 474.1 MB, free: 9.691 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)