Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 111.2 kB / 17.74 MB, free: 5.301 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.002166/0.002167, allocations: 188.2 kB / 18.66 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1971/0.1971, allocations: 37.98 MB / 309.9 MB, free: 5.949 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 64.38 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005926/0.1094, allocations: 3.926 MB / 491.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1112, allocations: 0.9087 MB / 492.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.1115, allocations: 15.94 kB / 492.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.1117, allocations: 39.58 kB / 492.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007485/0.1125, allocations: 175.1 kB / 492.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1128, allocations: 71.89 kB / 492.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000552/0.1134, allocations: 378.7 kB / 493.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.1136, allocations: 80.56 kB / 493.4 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003858/0.114, allocations: 179.2 kB / 493.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.1144, allocations: 163.4 kB / 493.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.1145, allocations: 20 kB / 493.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.075e-05/0.1145, allocations: 16 kB / 493.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1147, allocations: 79.73 kB / 493.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.1148, allocations: 127.3 kB / 493.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.1152, allocations: 259 kB / 494.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1152, allocations: 0 / 494.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1152, allocations: 0 / 494.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1152, allocations: 4 kB / 494.2 MB, free: 1.891 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000991/0.1162, allocations: 0.5583 MB / 494.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1162, allocations: 11.89 kB / 494.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.1163, allocations: 32.56 kB / 494.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.1169, allocations: 331.7 kB / 495.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1169, allocations: 16.38 kB / 495.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1169, allocations: 20 kB / 495.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.1174, allocations: 270 kB / 495.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1174, allocations: 4 kB / 495.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.1174, allocations: 4 kB / 495.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1174, allocations: 4 kB / 495.4 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.1178, allocations: 167.8 kB / 495.6 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1191, allocations: 1.167 MB / 496.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.1193, allocations: 77.11 kB / 496.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.1193, allocations: 33.81 kB / 496.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1194, allocations: 3.984 kB / 496.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1194, allocations: 42.5 kB / 496.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1194, allocations: 0 / 496.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007289/0.1201, allocations: 412.7 kB / 497.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.1202, allocations: 77.11 kB / 497.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.1204, allocations: 246.5 kB / 497.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1205, allocations: 25.83 kB / 497.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1206, allocations: 195.6 kB / 497.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.1206, allocations: 27.64 kB / 497.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.1207, allocations: 49.55 kB / 497.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1208, allocations: 334.8 kB / 498.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.1209, allocations: 27.92 kB / 498.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.121, allocations: 120.9 kB / 498.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.1212, allocations: 164.7 kB / 498.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1212, allocations: 4 kB / 498.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002678/0.1215, allocations: 185.5 kB / 498.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1215, allocations: 8 kB / 498.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1215, allocations: 3.938 kB / 498.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1216, allocations: 8 kB / 498.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1217, allocations: 40.36 kB / 498.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1217, allocations: 7.938 kB / 498.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1218, allocations: 8 kB / 498.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1219, allocations: 12 kB / 498.8 MB, free: 12.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.0001286/0.122, allocations: 153.8 kB / 499 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1221, allocations: 19.72 kB / 499 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.1222, allocations: 99.31 kB / 499.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1222, allocations: 0 / 499.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1222, allocations: 0 / 499.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1223, allocations: 4 kB / 499.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.1227, allocations: 419.2 kB / 499.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1227, allocations: 0 / 499.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.84e-05/0.1228, allocations: 19.98 kB / 499.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1228, allocations: 4.031 kB / 499.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1228, allocations: 0 / 499.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1229, allocations: 4 kB / 499.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1229, allocations: 3.938 kB / 499.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1231, allocations: 232.8 kB / 499.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.1232, allocations: 92.94 kB / 499.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1232, allocations: 8.062 kB / 499.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.1233, allocations: 4 kB / 499.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.1233, allocations: 4 kB / 499.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.1233, allocations: 96 / 499.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.1235, allocations: 177.9 kB / 0.4883 GB, free: 11.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1235, allocations: 0 / 0.4883 GB, free: 11.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000308/0.1238, allocations: 40 kB / 0.4884 GB, free: 11.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001165/0.1239, allocations: 99.19 kB / 0.4885 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.1241, allocations: 95.72 kB / 0.4885 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1241, allocations: 0 / 0.4885 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.804e-05/0.1242, allocations: 27.92 kB / 0.4886 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.1247, allocations: 74.45 kB / 0.4886 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009074/0.1256, allocations: 0.5333 MB / 0.4892 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.1259, allocations: 0.7558 MB / 0.4899 GB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.126, allocations: 19.44 kB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.126, allocations: 0 / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of Templates: time 0.005147/0.1312, allocations: 2.69 MB / 0.4925 GB, free: 7.066 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)