Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009326/0.0009327, allocations: 170.9 kB / 16.07 MB, free: 5.699 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.226/1.226, allocations: 205.4 MB / 222.2 MB, free: 9.012 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.0006335/0.0006335, allocations: 86.36 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1695/0.1695, allocations: 38.07 MB / 356.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 16 kB / 423.3 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2164, allocations: 56.32 MB / 479.6 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004128/0.2206, allocations: 4.604 MB / 484.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.2229, allocations: 1.693 MB / 485.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.2232, allocations: 25.19 kB / 486 MB, free: 5.016 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.2234, allocations: 77.31 kB / 486 MB, free: 4.977 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000657/0.2241, allocations: 296.6 kB / 486.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.2248, allocations: 251.2 kB / 486.6 MB, free: 4.711 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007475/0.2255, allocations: 0.7238 MB / 487.3 MB, free: 4.453 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006859/0.2262, allocations: 479.4 kB / 487.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.2266, allocations: 223.6 kB / 488 MB, free: 4.047 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.227, allocations: 321.3 kB / 488.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.2271, allocations: 16.09 kB / 488.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.2274, allocations: 134.6 kB / 488.4 MB, free: 3.914 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.2276, allocations: 197.5 kB / 488.6 MB, free: 3.867 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.2278, allocations: 240.8 kB / 488.9 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.2283, allocations: 447.5 kB / 489.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2283, allocations: 1.469 kB / 489.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2284, allocations: 0 / 489.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.2284, allocations: 0 / 489.3 MB, free: 3.621 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00107/0.2294, allocations: 0.6863 MB / 490 MB, free: 3.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.2295, allocations: 13.16 kB / 490 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005381/0.23, allocations: 91.34 kB / 490.1 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.2305, allocations: 397.3 kB / 490.5 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.2306, allocations: 32.48 kB / 490.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.2307, allocations: 54.56 kB / 490.6 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008314/0.2316, allocations: 0.664 MB / 491.2 MB, free: 2.336 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.2316, allocations: 5.938 kB / 491.2 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.2316, allocations: 21.98 kB / 491.3 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/0.2318, allocations: 46.06 kB / 491.3 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.2326, allocations: 491.4 kB / 491.8 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.2354, allocations: 3.15 MB / 494.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.2358, allocations: 249.5 kB / 495.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.236, allocations: 115.9 kB / 495.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.2361, allocations: 12.19 kB / 495.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2361, allocations: 41.3 kB / 495.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.2361, allocations: 0 / 495.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001478/0.2376, allocations: 0.9034 MB / 496.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.2377, allocations: 80.2 kB / 496.3 MB, free: 14.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.238, allocations: 328.6 kB / 496.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.2381, allocations: 30.92 kB / 496.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.2382, allocations: 286.5 kB / 496.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/0.2383, allocations: 90.98 kB / 497 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.2384, allocations: 6.281 kB / 497 MB, free: 14.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2385, allocations: 354.1 kB / 497.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.2387, allocations: 131.7 kB / 497.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.239, allocations: 317.1 kB / 497.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/0.2396, allocations: 0.4958 MB / 498.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2397, allocations: 2.969 kB / 498.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001084/0.2407, allocations: 0.5862 MB / 498.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.2408, allocations: 9.297 kB / 498.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006334/0.2414, allocations: 334.7 kB / 499.2 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004159/0.2419, allocations: 114.7 kB / 499.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.2422, allocations: 87.12 kB / 499.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.2447, allocations: 3.029 MB / 0.4907 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.245, allocations: 16.2 kB / 0.4907 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.2451, allocations: 22.77 kB / 0.4907 GB, free: 10.01 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.2454, allocations: 216.5 kB / 0.4909 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.2454, allocations: 35.06 kB / 0.491 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/0.246, allocations: 319.9 kB / 0.4913 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.246, allocations: 6.828 kB / 0.4913 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.246, allocations: 1.5 kB / 0.4913 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.246, allocations: 1.594 kB / 0.4913 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.2471, allocations: 0.8059 MB / 0.4921 GB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2471, allocations: 5.156 kB / 0.4921 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.2475, allocations: 56.91 kB / 0.4921 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2475, allocations: 2.344 kB / 0.4921 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.2475, allocations: 11.36 kB / 0.4921 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2475, allocations: 2.438 kB / 0.4922 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2475, allocations: 0.9688 kB / 0.4922 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.2481, allocations: 0.5125 MB / 0.4927 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.2483, allocations: 121.8 kB / 0.4928 GB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.2483, allocations: 7.703 kB / 0.4928 GB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.2485, allocations: 12.02 kB / 0.4928 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.2485, allocations: 16.39 kB / 0.4928 GB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.2486, allocations: 14.2 kB / 0.4928 GB, free: 8.617 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002306/0.2488, allocations: 224.3 kB / 0.493 GB, free: 8.473 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2488, allocations: 1.281 kB / 0.493 GB, free: 8.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004806/0.2493, allocations: 98.16 kB / 0.4931 GB, free: 8.461 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (27): * Single equations (assignments): 26 * 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.0001158/0.2494, allocations: 102.9 kB / 0.4932 GB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000859/0.2503, allocations: 0.5786 MB / 0.4938 GB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2503, allocations: 0 / 0.4938 GB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.2505, allocations: 130.1 kB / 0.4939 GB, free: 7.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.251, allocations: 62.14 kB / 0.494 GB, free: 7.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.2526, allocations: 1.274 MB / 0.4952 GB, free: 6.941 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.2531, allocations: 0.8712 MB / 0.4961 GB, free: 6.156 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.2532, allocations: 34.08 kB / 0.4961 GB, free: 6.145 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2532, allocations: 1.125 kB / 0.4961 GB, free: 6.145 MB / 330.7 MB Notification: Performance of Templates: time 0.008847/0.2621, allocations: 6.46 MB / 0.5024 GB, free: 2.398 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)