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.001487/0.001488, allocations: 105.9 kB / 16.45 MB, free: 6.449 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.001528/0.001528, allocations: 190 kB / 17.39 MB, free: 5.668 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.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05081/0.05081, allocations: 8.098 MB / 299.3 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.89 kB / 413.9 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1026, allocations: 51.52 MB / 465.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002497/0.1052, allocations: 1.271 MB / 466.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1068, allocations: 1.247 MB / 468 MB, free: 180 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.1069, allocations: 4 kB / 468 MB, free: 176 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.1073, allocations: 103.5 kB / 468.1 MB, free: 72 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.1075, allocations: 63.61 kB / 468.2 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1088, allocations: 0.7311 MB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.109, allocations: 139.3 kB / 469 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1092, allocations: 69.45 kB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.1093, allocations: 55.84 kB / 469.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1094, allocations: 63.7 kB / 469.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.1094, allocations: 12 kB / 469.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.1097, allocations: 147.8 kB / 469.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.1098, allocations: 27.91 kB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.1098, allocations: 67.67 kB / 469.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.1102, allocations: 251 kB / 469.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1102, allocations: 3.938 kB / 469.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1102, allocations: 0 / 469.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1102, allocations: 8 kB / 469.7 MB, free: 14.45 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.001261/0.1115, allocations: 0.5563 MB / 470.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1116, allocations: 19.89 kB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.1116, allocations: 46.73 kB / 470.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.1117, allocations: 16.75 kB / 470.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1119, allocations: 200.2 kB / 470.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1119, allocations: 8.375 kB / 470.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.1119, allocations: 12.38 kB / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.1122, allocations: 154.2 kB / 470.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1122, allocations: 3.938 kB / 470.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1122, allocations: 4 kB / 470.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1122, allocations: 4 kB / 470.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.1124, allocations: 119.9 kB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/0.1132, allocations: 0.5118 MB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007937/0.114, allocations: 154.7 kB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.114, allocations: 52.72 kB / 471.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.1142, allocations: 81.11 kB / 471.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1142, allocations: 34.56 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.1142, allocations: 3.938 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001113/0.1154, allocations: 347.3 kB / 472 MB, free: 11.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1154, allocations: 67.22 kB / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.1155, allocations: 137.2 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1156, allocations: 29.7 kB / 472.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.1156, allocations: 120.1 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1157, allocations: 35.53 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.1157, allocations: 29.72 kB / 472.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1159, allocations: 318.8 kB / 472.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.1159, allocations: 39.98 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.581e-05/0.116, allocations: 61.45 kB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1162, allocations: 105.6 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1162, allocations: 4 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004758/0.1167, allocations: 210.1 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1167, allocations: 4.031 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1167, allocations: 4 kB / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004126/0.1171, allocations: 80.77 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.1172, allocations: 12 kB / 473.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.119, allocations: 1.644 MB / 474.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.119, allocations: 11.84 kB / 474.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1191, allocations: 7.984 kB / 474.9 MB, free: 8.816 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 9.802e-05/0.1192, allocations: 118 kB / 475 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.1192, allocations: 11.89 kB / 475 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005076/0.1197, allocations: 210.7 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1197, allocations: 0 / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1197, allocations: 7.984 kB / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1198, allocations: 0 / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.12, allocations: 229.4 kB / 475.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.12, allocations: 0 / 475.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.12, allocations: 8 kB / 475.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003315/0.1204, allocations: 80.77 kB / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1204, allocations: 0 / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.122, allocations: 1.637 MB / 477.2 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.122, allocations: 384 / 477.2 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.1225, allocations: 288.2 kB / 477.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.1225, allocations: 85 kB / 477.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1226, allocations: 4 kB / 477.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/0.1227, allocations: 7.938 kB / 477.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.1227, allocations: 11.98 kB / 477.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1227, allocations: 4 kB / 477.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.439e-05/0.1228, allocations: 95.27 kB / 477.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1228, allocations: 7.938 kB / 477.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.1231, allocations: 51.78 kB / 477.7 MB, free: 5.734 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.0007848/0.1239, allocations: 0.8262 MB / 478.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006319/0.1245, allocations: 267.2 kB / 478.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1245, allocations: 0 / 478.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.1249, allocations: 202.9 kB / 479 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.1252, allocations: 8.219 kB / 479 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.1273, allocations: 1.768 MB / 480.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.1276, allocations: 0.7118 MB / 481.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.97e-05/0.1277, allocations: 12.67 kB / 481.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.1278, allocations: 35.42 kB / 481.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1278, allocations: 0 / 481.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.1501, allocations: 3.629 MB / 485.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.884/9.034, allocations: 2.531 kB / 485.2 MB, free: 14.18 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)