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-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: 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.001353/0.001353, allocations: 114.2 kB / 17.13 MB, free: 5.965 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.001526/0.001526, allocations: 199 kB / 18.06 MB, free: 5.039 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04486/0.04486, allocations: 8.098 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 415.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.08376, allocations: 51.52 MB / 466.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002082/0.08587, allocations: 0.9328 MB / 467.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.08728, allocations: 1.15 MB / 468.7 MB, free: 100 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.08735, allocations: 8 kB / 468.7 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.08762, allocations: 51.77 kB / 468.8 MB, free: 40 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.08778, allocations: 31.78 kB / 468.8 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.0879, allocations: 35.89 kB / 468.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.088, allocations: 51.73 kB / 468.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.08813, allocations: 31.95 kB / 468.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.08817, allocations: 23.94 kB / 469 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.264e-05/0.08825, allocations: 27.86 kB / 469 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.08827, allocations: 8 kB / 469 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.08843, allocations: 67.89 kB / 469.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.08846, allocations: 7.938 kB / 469.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.08851, allocations: 31.81 kB / 469.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.08872, allocations: 107.7 kB / 469.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.08873, allocations: 3.938 kB / 469.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08874, allocations: 0 / 469.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.08875, allocations: 0 / 469.2 MB, free: 15.62 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.0005373/0.08929, allocations: 379.3 kB / 469.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.08933, allocations: 19.88 kB / 469.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.08938, allocations: 12.84 kB / 469.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.0895, allocations: 164.3 kB / 469.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.08952, allocations: 12.31 kB / 469.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.08954, allocations: 4.375 kB / 469.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.0897, allocations: 78.23 kB / 469.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.08971, allocations: 192 / 469.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.08973, allocations: 7.875 kB / 469.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.08974, allocations: 0 / 469.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.401e-05/0.08983, allocations: 47.97 kB / 469.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.09031, allocations: 356.5 kB / 470.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.864e-05/0.09037, allocations: 18.58 kB / 470.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.0904, allocations: 12.92 kB / 470.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.09052, allocations: 77.11 kB / 470.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.09055, allocations: 42.53 kB / 470.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.09056, allocations: 4 kB / 470.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001503/0.09071, allocations: 41.64 kB / 470.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.09075, allocations: 55.34 kB / 470.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.09086, allocations: 121.8 kB / 470.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.09088, allocations: 25.7 kB / 470.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.09094, allocations: 107.9 kB / 470.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.09095, allocations: 11.84 kB / 470.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.09099, allocations: 21.7 kB / 470.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.09109, allocations: 319 kB / 471.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.09113, allocations: 11.98 kB / 471.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.09115, allocations: 12 kB / 471.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.06e-05/0.09121, allocations: 28.84 kB / 471.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.09122, allocations: 0 / 471.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001091/0.09133, allocations: 73.53 kB / 471.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.09135, allocations: 4 kB / 471.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.09136, allocations: 0 / 471.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.09138, allocations: 4 kB / 471.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.09146, allocations: 11.94 kB / 471.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.09148, allocations: 0 / 471.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.09153, allocations: 7.938 kB / 471.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.09155, allocations: 3.984 kB / 471.3 MB, free: 13.32 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 7.202e-05/0.09162, allocations: 113.8 kB / 471.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.09166, allocations: 3.906 kB / 471.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.09177, allocations: 53.3 kB / 471.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.09178, allocations: 11.94 kB / 471.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.09179, allocations: 32 / 471.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.0918, allocations: 4 kB / 471.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.09197, allocations: 173.7 kB / 471.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.09198, allocations: 0 / 471.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.092, allocations: 3.938 kB / 471.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.09201, allocations: 4 kB / 471.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.09202, allocations: 0 / 471.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.09203, allocations: 3.938 kB / 471.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.09204, allocations: 0 / 471.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.86e-05/0.09214, allocations: 143.5 kB / 471.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.09219, allocations: 77.11 kB / 471.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.09221, allocations: 0 / 471.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.09228, allocations: 7.922 kB / 471.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.0923, allocations: 0 / 471.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.09231, allocations: 8 kB / 471.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.198e-05/0.09237, allocations: 91.58 kB / 471.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.694e-06/0.09237, allocations: 0 / 471.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.09263, allocations: 23.83 kB / 472 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.0001415/0.09278, allocations: 107.3 kB / 472.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.267e-05/0.09288, allocations: 19.98 kB / 472.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.09289, allocations: 4 kB / 472.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.09291, allocations: 11.94 kB / 472.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.09313, allocations: 0 / 472.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.09344, allocations: 184.7 kB / 472.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.09367, allocations: 0.6922 MB / 473 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.0937, allocations: 11.44 kB / 473 MB, free: 11.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.09371, allocations: 0 / 473 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Templates: time 0.002252/0.09597, allocations: 0.8476 MB / 473.8 MB, free: 10.56 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)