Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",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.001253/0.001253, allocations: 110.1 kB / 16.45 MB, free: 6.434 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.001215/0.001215, allocations: 189 kB / 17.39 MB, free: 5.656 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.456/1.456, allocations: 222.9 MB / 241.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05361/0.05361, allocations: 8.11 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 71.89 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1112, allocations: 51.51 MB / 465.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.00262/0.1138, allocations: 1.279 MB / 466.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.1158, allocations: 1.247 MB / 468 MB, free: 136 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1159, allocations: 4 kB / 468 MB, free: 132 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.1163, allocations: 103.5 kB / 468.1 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1166, allocations: 51.61 kB / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.118, allocations: 0.7429 MB / 468.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.1183, allocations: 135.3 kB / 469 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1185, allocations: 65.47 kB / 469.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.766e-05/0.1186, allocations: 55.84 kB / 469.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1188, allocations: 71.69 kB / 469.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.1188, allocations: 12 kB / 469.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.1192, allocations: 143.8 kB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.1192, allocations: 31.91 kB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.184e-05/0.1193, allocations: 63.67 kB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.1197, allocations: 263.3 kB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1197, allocations: 0 / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1197, allocations: 0 / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1198, allocations: 0 / 469.7 MB, free: 14.41 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001434/0.1212, allocations: 0.5714 MB / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1213, allocations: 15.89 kB / 470.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.1213, allocations: 42.73 kB / 470.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.1214, allocations: 16.89 kB / 470.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1216, allocations: 207.4 kB / 470.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1217, allocations: 8.375 kB / 470.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1217, allocations: 12.38 kB / 470.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.1221, allocations: 158.2 kB / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1221, allocations: 3.938 kB / 470.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1221, allocations: 0 / 470.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1221, allocations: 4 kB / 470.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.1223, allocations: 116 kB / 470.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.1233, allocations: 0.5196 MB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000885/0.1242, allocations: 154.5 kB / 471.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.1243, allocations: 40.8 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.1245, allocations: 89.09 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.1246, allocations: 38.69 kB / 471.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 3.326e-06/0.1246, allocations: 3.938 kB / 471.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001268/0.1259, allocations: 347.3 kB / 472 MB, free: 11.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.1259, allocations: 63.33 kB / 472.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1261, allocations: 121.8 kB / 472.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1261, allocations: 33.7 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1262, allocations: 128.2 kB / 472.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.1263, allocations: 35.72 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.1263, allocations: 29.72 kB / 472.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1265, allocations: 318.8 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.1266, allocations: 39.98 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1267, allocations: 65.52 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.1269, allocations: 105.7 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1269, allocations: 0 / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005189/0.1274, allocations: 210.2 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1275, allocations: 4 kB / 473.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1275, allocations: 0 / 473.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.1279, allocations: 84.73 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.128, allocations: 12 kB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.1301, allocations: 1.645 MB / 474.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.581e-05/0.1302, allocations: 12.03 kB / 474.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1302, allocations: 8.141 kB / 474.9 MB, free: 8.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.1304, allocations: 121.8 kB / 475 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.1305, allocations: 11.94 kB / 475.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005454/0.131, allocations: 206.6 kB / 475.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.131, allocations: 0 / 475.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.131, allocations: 4 kB / 475.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.131, allocations: 7.922 kB / 475.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.1313, allocations: 225.5 kB / 475.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1313, allocations: 0 / 475.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.1314, allocations: 11.94 kB / 475.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/0.1317, allocations: 80.77 kB / 475.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1317, allocations: 4 kB / 475.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.1335, allocations: 1.633 MB / 477.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.1335, allocations: 384 / 477.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.1341, allocations: 284.5 kB / 477.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.1342, allocations: 89.02 kB / 477.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1342, allocations: 4 kB / 477.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1343, allocations: 11.92 kB / 477.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.1343, allocations: 4 kB / 477.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1344, allocations: 11.98 kB / 477.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.81e-05/0.1344, allocations: 99.2 kB / 477.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1344, allocations: 0 / 477.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.1348, allocations: 51.88 kB / 477.8 MB, free: 5.676 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 (8): * Single equations (assignments): 7 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009616/0.1357, allocations: 0.8264 MB / 478.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006981/0.1365, allocations: 262.5 kB / 478.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1365, allocations: 0 / 478.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000408/0.1369, allocations: 202.7 kB / 479 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.1371, allocations: 11.98 kB / 479.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.1396, allocations: 1.775 MB / 480.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.14, allocations: 0.708 MB / 481.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.414e-05/0.1401, allocations: 8.656 kB / 481.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.1401, allocations: 47.42 kB / 481.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1402, allocations: 0 / 481.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.17, allocations: 3.541 MB / 485.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.684/9.854, allocations: 7.875 kB / 485.1 MB, free: 14.19 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)