Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",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.001301/0.001301, allocations: 102.5 kB / 16.44 MB, free: 6.336 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.001358/0.001357, allocations: 193 kB / 17.38 MB, free: 5.758 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.455/1.455, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05851/0.0585, allocations: 8.102 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.91 kB / 413.9 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1087, allocations: 51.52 MB / 465.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002615/0.1114, allocations: 1.275 MB / 466.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1131, allocations: 1.247 MB / 468 MB, free: 180 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.1132, allocations: 4 kB / 468 MB, free: 176 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.1136, allocations: 107.4 kB / 468.1 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.1138, allocations: 59.55 kB / 468.2 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.1151, allocations: 0.7315 MB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.1154, allocations: 131.4 kB / 469 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1156, allocations: 73.44 kB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.1156, allocations: 51.86 kB / 469.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1158, allocations: 71.62 kB / 469.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1158, allocations: 12 kB / 469.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.1161, allocations: 139.9 kB / 469.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.1161, allocations: 27.92 kB / 469.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.1162, allocations: 71.66 kB / 469.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.1167, allocations: 263 kB / 469.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1167, allocations: 7.938 kB / 469.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1167, allocations: 0 / 469.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1167, allocations: 0 / 469.7 MB, free: 14.44 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.001346/0.118, allocations: 0.5609 MB / 470.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1181, allocations: 19.83 kB / 470.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.117e-05/0.1182, allocations: 42.75 kB / 470.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.1182, allocations: 8.891 kB / 470.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.1185, allocations: 216.1 kB / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1185, allocations: 8.375 kB / 470.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1185, allocations: 12.38 kB / 470.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.1188, allocations: 154.2 kB / 470.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1188, allocations: 3.938 kB / 470.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.1189, allocations: 11.94 kB / 470.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1189, allocations: 4 kB / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.1191, allocations: 116 kB / 470.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008674/0.12, allocations: 0.5042 MB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008333/0.1208, allocations: 154.5 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.1209, allocations: 48.78 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.1211, allocations: 85.09 kB / 471.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.1211, allocations: 38.55 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1211, allocations: 0 / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001267/0.1224, allocations: 351.5 kB / 472 MB, free: 11.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1225, allocations: 63.28 kB / 472.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1226, allocations: 129.6 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1226, allocations: 29.7 kB / 472.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.1227, allocations: 124.2 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.1228, allocations: 35.67 kB / 472.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.1228, allocations: 33.7 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.123, allocations: 314.8 kB / 472.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.568e-05/0.1231, allocations: 43.98 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1232, allocations: 65.56 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.1234, allocations: 97.66 kB / 472.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1234, allocations: 0 / 472.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005617/0.124, allocations: 218.2 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.124, allocations: 4 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.124, allocations: 384 / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004687/0.1245, allocations: 76.77 kB / 473.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.1246, allocations: 15.98 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.1266, allocations: 1.648 MB / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.1267, allocations: 11.91 kB / 474.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1267, allocations: 4 kB / 474.9 MB, free: 8.805 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.0001234/0.1269, allocations: 125.8 kB / 475 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.1269, allocations: 7.953 kB / 475 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005886/0.1275, allocations: 214.7 kB / 475.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1275, allocations: 0 / 475.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1275, allocations: 4 kB / 475.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1276, allocations: 0 / 475.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.1278, allocations: 233.4 kB / 475.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1278, allocations: 0 / 475.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.1279, allocations: 12.12 kB / 475.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/0.1283, allocations: 84.75 kB / 475.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1283, allocations: 4 kB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.1307, allocations: 1.633 MB / 477.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1307, allocations: 3.984 kB / 477.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.1314, allocations: 280.2 kB / 477.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.998e-05/0.1315, allocations: 89.02 kB / 477.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1315, allocations: 0 / 477.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1316, allocations: 12.06 kB / 477.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.1317, allocations: 7.984 kB / 477.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1317, allocations: 4 kB / 477.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.699e-05/0.1318, allocations: 99.2 kB / 477.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1318, allocations: 3.938 kB / 477.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1322, allocations: 47.94 kB / 477.8 MB, free: 5.715 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.001013/0.1332, allocations: 0.8302 MB / 478.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007604/0.1339, allocations: 254.5 kB / 478.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.134, allocations: 0 / 478.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.1344, allocations: 202.6 kB / 479 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.1347, allocations: 15.94 kB / 479 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.1373, allocations: 1.78 MB / 480.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.1377, allocations: 0.7119 MB / 481.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.1377, allocations: 8.656 kB / 481.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.1378, allocations: 43.61 kB / 481.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1378, allocations: 0 / 481.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.1656, allocations: 3.522 MB / 485.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.763/9.928, allocations: 8 kB / 485.1 MB, free: 14.24 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)