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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 101.2 kB / 20.52 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 212.9 kB / 23.84 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 257.6 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03857/0.03857, allocations: 6.138 MB / 320.2 MB, free: 12.96 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 51.94 kB / 445.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.1015, allocations: 55.02 MB / 0.4886 GB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002789/0.1043, allocations: 1.282 MB / 0.4898 GB, free: 13.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1062, allocations: 1.283 MB / 0.4911 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1064, allocations: 4 kB / 0.4911 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000438/0.1068, allocations: 103.5 kB / 0.4912 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.1071, allocations: 63.61 kB / 0.4912 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.1084, allocations: 0.5796 MB / 0.4918 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.1086, allocations: 139.4 kB / 0.4919 GB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1088, allocations: 49.89 kB / 0.492 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.062e-05/0.1089, allocations: 59.78 kB / 0.492 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.109, allocations: 59.77 kB / 0.4921 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.109, allocations: 15.98 kB / 0.4921 GB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.1093, allocations: 151.8 kB / 0.4923 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.1094, allocations: 31.92 kB / 0.4923 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.841e-05/0.1095, allocations: 67.66 kB / 0.4924 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.1099, allocations: 247.1 kB / 0.4926 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1099, allocations: 4 kB / 0.4926 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1099, allocations: 0 / 0.4926 GB, free: 10.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1099, allocations: 0 / 0.4926 GB, free: 10.15 MB / 366.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.001313/0.1112, allocations: 497.3 kB / 0.4931 GB, free: 9.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1112, allocations: 12.03 kB / 0.4931 GB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.792e-05/0.1112, allocations: 4.188 kB / 0.4931 GB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.1113, allocations: 46.69 kB / 0.4931 GB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.1113, allocations: 12.84 kB / 0.4931 GB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1115, allocations: 154.3 kB / 0.4933 GB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1115, allocations: 12.38 kB / 0.4933 GB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.1116, allocations: 12.38 kB / 0.4933 GB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.1119, allocations: 157.9 kB / 0.4935 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1119, allocations: 0 / 0.4935 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1119, allocations: 8 kB / 0.4935 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1119, allocations: 0 / 0.4935 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.1121, allocations: 120 kB / 0.4936 GB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.1129, allocations: 499.2 kB / 0.4941 GB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008276/0.1137, allocations: 146.5 kB / 0.4942 GB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.1138, allocations: 32.86 kB / 0.4942 GB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.09e-05/0.1139, allocations: 11.98 kB / 0.4942 GB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.1139, allocations: 38.69 kB / 0.4943 GB, free: 8.285 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1139, allocations: 0 / 0.4943 GB, free: 8.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001128/0.1151, allocations: 270.2 kB / 0.4945 GB, free: 8.012 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1151, allocations: 55.34 kB / 0.4946 GB, free: 7.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1152, allocations: 132.3 kB / 0.4947 GB, free: 7.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1153, allocations: 29.7 kB / 0.4947 GB, free: 7.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.1153, allocations: 132.2 kB / 0.4949 GB, free: 7.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1154, allocations: 27.75 kB / 0.4949 GB, free: 7.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1155, allocations: 33.7 kB / 0.4949 GB, free: 7.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1156, allocations: 318.8 kB / 0.4952 GB, free: 7.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.1157, allocations: 43.92 kB / 0.4953 GB, free: 7.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.393e-05/0.1158, allocations: 53.7 kB / 0.4953 GB, free: 7.152 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.116, allocations: 105.7 kB / 0.4954 GB, free: 7.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.116, allocations: 4 kB / 0.4954 GB, free: 7.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005146/0.1165, allocations: 202.3 kB / 0.4956 GB, free: 6.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1165, allocations: 4 kB / 0.4956 GB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1165, allocations: 7.969 kB / 0.4956 GB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/0.1169, allocations: 81.12 kB / 0.4957 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.784e-05/0.117, allocations: 15.98 kB / 0.4957 GB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.1189, allocations: 1.557 MB / 0.4973 GB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.1189, allocations: 7.953 kB / 0.4973 GB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.119, allocations: 8 kB / 0.4973 GB, free: 5.031 MB / 366.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.0001141/0.1191, allocations: 121.8 kB / 0.4974 GB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.1191, allocations: 7.953 kB / 0.4974 GB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/0.1197, allocations: 210.5 kB / 0.4976 GB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1197, allocations: 0 / 0.4976 GB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1197, allocations: 8 kB / 0.4976 GB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1197, allocations: 0 / 0.4976 GB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.1199, allocations: 196.6 kB / 0.4978 GB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1199, allocations: 3.984 kB / 0.4978 GB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.12, allocations: 11.94 kB / 0.4978 GB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003676/0.1203, allocations: 80.77 kB / 0.4979 GB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1203, allocations: 0 / 0.4979 GB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.1221, allocations: 1.545 MB / 0.4994 GB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1221, allocations: 4.031 kB / 0.4994 GB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.1226, allocations: 276.1 kB / 0.4997 GB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.1227, allocations: 11.89 kB / 0.4997 GB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1227, allocations: 8 kB / 0.4997 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1228, allocations: 0 / 0.4997 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.1228, allocations: 7.984 kB / 0.4997 GB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1228, allocations: 4 kB / 0.4997 GB, free: 2.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.079e-05/0.1229, allocations: 103.2 kB / 0.4998 GB, free: 2.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1229, allocations: 4 kB / 0.4998 GB, free: 2.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.1232, allocations: 51.89 kB / 0.4998 GB, free: 2.199 MB / 366.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.0009173/0.1241, allocations: 0.8227 MB / 0.5006 GB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006842/0.1248, allocations: 246.5 kB / 0.5009 GB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1248, allocations: 0 / 0.5009 GB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.1252, allocations: 198.6 kB / 0.5011 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.1255, allocations: 11.92 kB / 0.5011 GB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.128, allocations: 1.768 MB / 0.5028 GB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1284, allocations: 0.7119 MB / 0.5035 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.089e-05/0.1284, allocations: 12.66 kB / 0.5035 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.1285, allocations: 35.61 kB / 0.5035 GB, free: 14.23 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1285, allocations: 0 / 0.5035 GB, free: 14.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03866/0.1671, allocations: 3.742 MB / 0.5072 GB, free: 10.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.25, allocations: 18.09 kB / 0.5072 GB, free: 10.61 MB / 382.1 MB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.14748118200805] Failed to read output from testmodel.py, exit status != 0: 12.42204085108824 12.661833078 12.548809344 Calling exit ...