Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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: translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001326, allocations: 108.2 kB / 16.45 MB, free: 6.445 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.001244/0.001243, allocations: 190.3 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.506/1.506, 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/package.mo): time 0.05315/0.05315, allocations: 8.094 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.91 kB / 414.4 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1067, allocations: 51.51 MB / 466 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002392/0.1091, allocations: 0.9367 MB / 466.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1108, allocations: 1.158 MB / 468 MB, free: 80 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.1109, allocations: 0 / 468 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.1112, allocations: 59.77 kB / 468.1 MB, free: 20 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.1114, allocations: 27.84 kB / 468.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.1115, allocations: 31.84 kB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.1116, allocations: 51.73 kB / 468.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1118, allocations: 39.94 kB / 468.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.1118, allocations: 27.86 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.407e-05/0.1119, allocations: 27.86 kB / 468.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1119, allocations: 4 kB / 468.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1121, allocations: 67.91 kB / 468.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.1121, allocations: 4 kB / 468.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.1122, allocations: 39.73 kB / 468.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.1124, allocations: 107.7 kB / 468.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1124, allocations: 3.938 kB / 468.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1124, allocations: 0 / 468.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1124, allocations: 0 / 468.5 MB, free: 15.59 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.0005864/0.113, allocations: 379.3 kB / 468.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1131, allocations: 8.031 kB / 468.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.1131, allocations: 12.84 kB / 468.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1133, allocations: 164.4 kB / 469.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1133, allocations: 8.312 kB / 469.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.1133, allocations: 4.375 kB / 469.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1135, allocations: 82.22 kB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1135, allocations: 192 / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1135, allocations: 7.875 kB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1136, allocations: 4 kB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.1136, allocations: 39.98 kB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.1142, allocations: 356.5 kB / 469.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.502e-05/0.1143, allocations: 18.58 kB / 469.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.1143, allocations: 16.91 kB / 469.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.1145, allocations: 81.11 kB / 469.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1145, allocations: 30.56 kB / 469.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 2.455e-06/0.1145, allocations: 0 / 469.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001846/0.1147, allocations: 53.62 kB / 469.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.1147, allocations: 55.34 kB / 469.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1149, allocations: 117.8 kB / 469.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1149, allocations: 25.7 kB / 470 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.115, allocations: 107.9 kB / 470.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.115, allocations: 11.91 kB / 470.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.115, allocations: 21.7 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1151, allocations: 314.8 kB / 470.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.1152, allocations: 16.12 kB / 470.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.398e-05/0.1152, allocations: 11.98 kB / 470.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.97e-05/0.1153, allocations: 28.98 kB / 470.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1153, allocations: 0 / 470.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000107/0.1154, allocations: 73.53 kB / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1154, allocations: 8 kB / 470.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1154, allocations: 0 / 470.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1154, allocations: 3.938 kB / 470.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.1155, allocations: 15.92 kB / 470.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1155, allocations: 0 / 470.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.1156, allocations: 7.938 kB / 470.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1156, allocations: 4 kB / 470.6 MB, free: 13.3 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.35e-05/0.1157, allocations: 113.8 kB / 470.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1157, allocations: 7.906 kB / 470.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1159, allocations: 57.09 kB / 470.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1159, allocations: 3.938 kB / 470.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1159, allocations: 0 / 470.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1159, allocations: 0 / 470.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.1161, allocations: 177.7 kB / 470.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1161, allocations: 3.984 kB / 470.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.1161, allocations: 4 kB / 470.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1161, allocations: 0 / 470.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.1161, allocations: 0 / 470.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1161, allocations: 3.938 kB / 470.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1161, allocations: 0 / 470.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.1163, allocations: 139.5 kB / 471.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.1163, allocations: 81.14 kB / 471.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1164, allocations: 4.062 kB / 471.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.045e-05/0.1164, allocations: 7.938 kB / 471.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.1164, allocations: 0 / 471.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1164, allocations: 0 / 471.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.326e-05/0.1165, allocations: 95.58 kB / 471.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1165, allocations: 0 / 471.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1168, allocations: 15.91 kB / 471.3 MB, free: 12.5 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001539/0.1169, allocations: 111.2 kB / 471.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.117, allocations: 20 kB / 471.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1171, allocations: 0 / 471.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.1171, allocations: 11.94 kB / 471.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1173, allocations: 0 / 471.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.1176, allocations: 163 kB / 471.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1179, allocations: 0.6844 MB / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.1179, allocations: 7.984 kB / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.118, allocations: 11.44 kB / 472.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.118, allocations: 4 kB / 472.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Templates: time 0.00301/0.121, allocations: 0.5556 MB / 472.8 MB, free: 10.88 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)