Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 176.9 kB / 15.78 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007117/0.0007117, allocations: 94.25 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2111/0.2111, allocations: 38.06 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 16 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09108, allocations: 56.33 MB / 479.1 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005809/0.09692, allocations: 5.794 MB / 484.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.09965, allocations: 1.587 MB / 486.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.1001, allocations: 43.69 kB / 486.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.1005, allocations: 123.1 kB / 486.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000925/0.1014, allocations: 402 kB / 487 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.1018, allocations: 171.7 kB / 487.2 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008026/0.1026, allocations: 0.8957 MB / 488.1 MB, free: 8.977 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.1029, allocations: 146.5 kB / 488.2 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.1033, allocations: 290.6 kB / 488.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000602/0.1039, allocations: 374.8 kB / 488.9 MB, free: 8.176 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.104, allocations: 28 kB / 488.9 MB, free: 8.148 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.1041, allocations: 20 kB / 488.9 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.1042, allocations: 171.5 kB / 489.1 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1043, allocations: 117.4 kB / 489.2 MB, free: 7.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.1047, allocations: 399 kB / 489.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.1047, allocations: 0 / 489.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1047, allocations: 0 / 489.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1047, allocations: 0 / 489.6 MB, free: 7.449 MB / 330.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.001252/0.106, allocations: 0.7189 MB / 490.3 MB, free: 6.684 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1061, allocations: 15.97 kB / 490.3 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.083e-05/0.1061, allocations: 55.28 kB / 490.4 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.1068, allocations: 447.4 kB / 490.8 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.1069, allocations: 29 kB / 490.8 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-05/0.1069, allocations: 40 kB / 490.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.1077, allocations: 0.4883 MB / 491.4 MB, free: 5.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1077, allocations: 11.94 kB / 491.4 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.1077, allocations: 19.95 kB / 491.4 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.1078, allocations: 17 kB / 491.4 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.1083, allocations: 363.6 kB / 491.8 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.1106, allocations: 2.087 MB / 493.8 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.1109, allocations: 241.8 kB / 494.1 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.1112, allocations: 134.1 kB / 494.2 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1112, allocations: 12.17 kB / 494.2 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1112, allocations: 34.69 kB / 494.3 MB, free: 2.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.286e-06/0.1113, allocations: 0 / 494.3 MB, free: 2.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001125/0.1124, allocations: 0.7551 MB / 495 MB, free: 1.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.1124, allocations: 89.09 kB / 495.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.1128, allocations: 373.6 kB / 495.5 MB, free: 1.176 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1128, allocations: 29.7 kB / 495.5 MB, free: 1.141 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.113, allocations: 290.9 kB / 495.8 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.294e-05/0.1131, allocations: 82.89 kB / 495.9 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.1131, allocations: 12 kB / 495.9 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1132, allocations: 350.8 kB / 496.2 MB, free: 416 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1134, allocations: 84.81 kB / 496.3 MB, free: 332 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.1136, allocations: 285.2 kB / 496.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1138, allocations: 143.6 kB / 496.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1138, allocations: 0 / 496.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006452/0.1145, allocations: 441.4 kB / 497.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1145, allocations: 12.73 kB / 497.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1145, allocations: 4 kB / 497.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.1147, allocations: 56.83 kB / 497.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.115, allocations: 83.84 kB / 497.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.1163, allocations: 1.488 MB / 498.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.1165, allocations: 12 kB / 498.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.1166, allocations: 20 kB / 498.8 MB, free: 13.57 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.1168, allocations: 213.5 kB / 499 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.1169, allocations: 43.47 kB / 499.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.1172, allocations: 249 kB / 499.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1172, allocations: 4 kB / 499.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.1173, allocations: 0 / 499.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1173, allocations: 192 / 499.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008002/0.1181, allocations: 0.6864 MB / 0.4883 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1181, allocations: 0 / 0.4883 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.1183, allocations: 47.97 kB / 0.4883 GB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1183, allocations: 0 / 0.4883 GB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.1184, allocations: 12.03 kB / 0.4883 GB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1184, allocations: 0 / 0.4883 GB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1184, allocations: 3.938 kB / 0.4883 GB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.1188, allocations: 429.3 kB / 0.4888 GB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.119, allocations: 124.6 kB / 0.4889 GB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.119, allocations: 4 kB / 0.4889 GB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.1191, allocations: 16.05 kB / 0.4889 GB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.1192, allocations: 11.98 kB / 0.4889 GB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1192, allocations: 8 kB / 0.4889 GB, free: 11.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002344/0.1194, allocations: 255.1 kB / 0.4892 GB, free: 11.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1194, allocations: 3.938 kB / 0.4892 GB, free: 11.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003873/0.1198, allocations: 88 kB / 0.4892 GB, free: 11.28 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001222/0.12, allocations: 103.2 kB / 0.4893 GB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005855/0.1206, allocations: 395.7 kB / 0.4897 GB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1206, allocations: 0 / 0.4897 GB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1207, allocations: 92.14 kB / 0.4898 GB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.1213, allocations: 85.58 kB / 0.4899 GB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1226, allocations: 1.086 MB / 0.491 GB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.123, allocations: 0.8548 MB / 0.4918 GB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.1231, allocations: 35.44 kB / 0.4918 GB, free: 8.559 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1231, allocations: 0 / 0.4918 GB, free: 8.559 MB / 346.7 MB Notification: Performance of Templates: time 0.008929/0.1321, allocations: 5.908 MB / 0.4976 GB, free: 2.648 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)