Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001264/0.001264, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.25/1.25, allocations: 194.2 MB / 212.2 MB, free: 2.371 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001872/0.001872, allocations: 124.8 kB / 256.6 MB, free: 4.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1632/0.1632, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 71.89 kB / 401.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09883, allocations: 52.19 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005656/0.1045, allocations: 6.543 MB / 460.5 MB, free: 10 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.1068, allocations: 1.668 MB / 462.2 MB, free: 8.328 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.1071, allocations: 39.75 kB / 462.2 MB, free: 8.289 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.1076, allocations: 119.3 kB / 462.4 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005815/0.1082, allocations: 342.6 kB / 462.7 MB, free: 7.836 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.1084, allocations: 127.8 kB / 462.8 MB, free: 7.711 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006464/0.1091, allocations: 1.142 MB / 464 MB, free: 6.566 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.1093, allocations: 164.2 kB / 464.1 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.1096, allocations: 298.5 kB / 464.4 MB, free: 6.102 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.11, allocations: 394.7 kB / 464.8 MB, free: 5.715 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.11, allocations: 24 kB / 464.8 MB, free: 5.691 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-05/0.1101, allocations: 28 kB / 464.8 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1102, allocations: 187.5 kB / 465 MB, free: 5.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.1104, allocations: 238.7 kB / 465.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1107, allocations: 0.5099 MB / 465.8 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1108, allocations: 0 / 465.8 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1108, allocations: 0 / 465.8 MB, free: 4.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1108, allocations: 0 / 465.8 MB, free: 4.734 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001048/0.1118, allocations: 0.8009 MB / 466.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1119, allocations: 8.031 kB / 466.6 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.1119, allocations: 56.28 kB / 466.6 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.1125, allocations: 468.1 kB / 467.1 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1126, allocations: 25 kB / 467.1 MB, free: 3.309 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.1126, allocations: 44 kB / 467.2 MB, free: 3.266 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.1132, allocations: 0.4961 MB / 467.6 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1132, allocations: 0 / 467.6 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.1132, allocations: 19.98 kB / 467.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.1133, allocations: 20.98 kB / 467.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.1137, allocations: 371.7 kB / 468.1 MB, free: 2.328 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.1155, allocations: 2.079 MB / 470.1 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.1159, allocations: 237.3 kB / 470.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.1161, allocations: 133.7 kB / 470.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1162, allocations: 4 kB / 470.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1162, allocations: 42.5 kB / 470.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.1162, allocations: 0 / 470.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001134/0.1173, allocations: 0.7657 MB / 471.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.1174, allocations: 81.05 kB / 471.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.1178, allocations: 381.5 kB / 471.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1178, allocations: 33.7 kB / 471.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.118, allocations: 287.1 kB / 472.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.118, allocations: 78.86 kB / 472.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/0.1181, allocations: 86.06 kB / 472.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1183, allocations: 358.7 kB / 472.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1184, allocations: 88.77 kB / 472.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.1187, allocations: 273.2 kB / 472.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.1191, allocations: 408.4 kB / 473.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1191, allocations: 0 / 473.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006563/0.1198, allocations: 453.8 kB / 473.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1198, allocations: 8 kB / 473.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1198, allocations: 8.094 kB / 473.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.12, allocations: 52.83 kB / 473.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.1202, allocations: 87.83 kB / 473.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.1216, allocations: 1.492 MB / 475.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.1218, allocations: 12 kB / 475.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.1219, allocations: 24.19 kB / 475.5 MB, free: 10.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.1221, allocations: 201.6 kB / 475.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.1221, allocations: 39.53 kB / 475.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.1225, allocations: 245.1 kB / 475.9 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1225, allocations: 11.92 kB / 475.9 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1225, allocations: 4 kB / 475.9 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1225, allocations: 0 / 475.9 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007987/0.1233, allocations: 0.6787 MB / 476.6 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1233, allocations: 0 / 476.6 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.1236, allocations: 43.98 kB / 476.7 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1236, allocations: 11.95 kB / 476.7 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.1236, allocations: 8 kB / 476.7 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1236, allocations: 0 / 476.7 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1236, allocations: 3.938 kB / 476.7 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.1256, allocations: 1.819 MB / 478.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.1257, allocations: 124.6 kB / 478.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.1257, allocations: 11.98 kB / 478.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.1259, allocations: 96 / 478.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.1259, allocations: 23.98 kB / 478.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1259, allocations: 7.938 kB / 478.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002292/0.1262, allocations: 263.1 kB / 478.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1262, allocations: 0 / 478.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004841/0.1267, allocations: 116 kB / 479 MB, free: 6.477 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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.0001174/0.1268, allocations: 99.28 kB / 479.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006049/0.1274, allocations: 404.2 kB / 479.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1274, allocations: 4 kB / 479.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.1276, allocations: 91.84 kB / 479.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.1281, allocations: 101.7 kB / 479.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.1295, allocations: 1.195 MB / 480.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.13, allocations: 0.8665 MB / 481.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.1303, allocations: 84.12 kB / 481.9 MB, free: 3.555 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.1304, allocations: 31.44 kB / 481.9 MB, free: 3.527 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1304, allocations: 0 / 481.9 MB, free: 3.527 MB / 330.7 MB Notification: Performance of Templates: time 0.007256/0.1376, allocations: 3.657 MB / 485.6 MB, free: 15.87 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)