Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",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.001513/0.001513, allocations: 108.6 kB / 16.45 MB, free: 6.496 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.001628/0.001628, allocations: 189.5 kB / 17.39 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.486/1.486, 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.0529/0.0529, allocations: 8.105 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001867, allocations: 71.88 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1217, allocations: 51.5 MB / 465.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.002566/0.1243, allocations: 1.003 MB / 466.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.126, allocations: 1.092 MB / 467.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.126, allocations: 4 kB / 467.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.1263, allocations: 63.7 kB / 467.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.1265, allocations: 35.75 kB / 467.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007092/0.1272, allocations: 330.5 kB / 468 MB, free: 180 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1274, allocations: 83.58 kB / 468.1 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1275, allocations: 35.97 kB / 468.1 MB, free: 60 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.183e-05/0.1276, allocations: 31.86 kB / 468.1 MB, free: 28 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1278, allocations: 39.84 kB / 468.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1278, allocations: 8 kB / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.128, allocations: 79.89 kB / 468.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.128, allocations: 15.94 kB / 468.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.1281, allocations: 43.78 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1283, allocations: 143.7 kB / 468.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1283, allocations: 0 / 468.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1283, allocations: 0 / 468.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1284, allocations: 4 kB / 468.5 MB, free: 15.7 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008885/0.1293, allocations: 426.9 kB / 468.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1293, allocations: 15.89 kB / 468.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.1294, allocations: 38.69 kB / 468.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.1294, allocations: 8.891 kB / 468.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1296, allocations: 180.3 kB / 469.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1296, allocations: 4.375 kB / 469.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1297, allocations: 12.36 kB / 469.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1299, allocations: 86.17 kB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1299, allocations: 3.938 kB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1299, allocations: 8 kB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1299, allocations: 0 / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.13, allocations: 47.97 kB / 469.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006039/0.1306, allocations: 364.5 kB / 469.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.1309, allocations: 74.61 kB / 469.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.131, allocations: 24.92 kB / 469.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.1312, allocations: 81.11 kB / 469.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.1312, allocations: 38.5 kB / 469.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.1312, allocations: 0 / 469.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005805/0.1318, allocations: 195.5 kB / 470 MB, free: 13.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.1319, allocations: 51.41 kB / 470.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.132, allocations: 125.8 kB / 470.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.132, allocations: 25.7 kB / 470.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.1321, allocations: 108 kB / 470.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.1322, allocations: 23.83 kB / 470.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.1322, allocations: 13.72 kB / 470.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1324, allocations: 322.8 kB / 470.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.1324, allocations: 12 kB / 470.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.1324, allocations: 8 kB / 470.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.226e-05/0.1325, allocations: 37.22 kB / 470.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1325, allocations: 0 / 470.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001944/0.1327, allocations: 94.73 kB / 470.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1327, allocations: 4 kB / 470.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1327, allocations: 0 / 470.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.133, allocations: 24.84 kB / 470.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.353e-05/0.133, allocations: 7.938 kB / 470.9 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.1343, allocations: 1.379 MB / 472.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.1343, allocations: 0 / 472.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1344, allocations: 8.031 kB / 472.3 MB, free: 11.47 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 (4): * Single equations (assignments): 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.1345, allocations: 117.9 kB / 472.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.1345, allocations: 7.953 kB / 472.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.1347, allocations: 110.3 kB / 472.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1348, allocations: 0 / 472.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.1348, allocations: 0 / 472.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1348, allocations: 0 / 472.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.135, allocations: 185.6 kB / 472.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.135, allocations: 128 / 472.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.135, allocations: 12 kB / 472.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/0.1352, allocations: 32.83 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1352, allocations: 3.938 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.1364, allocations: 1.379 MB / 474.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1364, allocations: 0 / 474.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.1366, allocations: 184.3 kB / 474.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.1367, allocations: 89.14 kB / 474.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1367, allocations: 4 kB / 474.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.1368, allocations: 8 kB / 474.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.1369, allocations: 3.984 kB / 474.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1369, allocations: 7.938 kB / 474.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.765e-05/0.137, allocations: 91.27 kB / 474.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.137, allocations: 0 / 474.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1373, allocations: 24 kB / 474.5 MB, free: 8.984 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 (5): * Single equations (assignments): 4 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006472/0.1379, allocations: 0.7288 MB / 475.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.1383, allocations: 154.7 kB / 475.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1383, allocations: 0 / 475.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.1385, allocations: 143.2 kB / 475.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1389, allocations: 23.5 kB / 475.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1406, allocations: 1.431 MB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.1409, allocations: 0.6924 MB / 477.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.447e-05/0.141, allocations: 15.72 kB / 477.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.141, allocations: 15.44 kB / 477.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1411, allocations: 4 kB / 477.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.1694, allocations: 2.489 MB / 480.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.675/9.845, allocations: 4.062 kB / 480.2 MB, free: 3.199 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1)