Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 173.3 kB / 16.07 MB, free: 5.723 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.264/1.264, allocations: 205.4 MB / 222.2 MB, free: 9.004 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.0007317/0.0007318, allocations: 94.34 kB / 270.6 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1691/0.1691, allocations: 38.07 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003895, allocations: 12 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2266, allocations: 56.32 MB / 479.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004244/0.2309, allocations: 4.627 MB / 484.3 MB, free: 6.195 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.2331, allocations: 1.614 MB / 485.9 MB, free: 5.055 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.2334, allocations: 25.16 kB / 485.9 MB, free: 5.043 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.2336, allocations: 77.86 kB / 486 MB, free: 5.004 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006396/0.2343, allocations: 259.8 kB / 486.2 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008144/0.2351, allocations: 249.5 kB / 486.5 MB, free: 4.762 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000763/0.2359, allocations: 0.6711 MB / 487.1 MB, free: 4.516 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008537/0.2368, allocations: 0.5706 MB / 487.7 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.2371, allocations: 206.5 kB / 487.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.2376, allocations: 311 kB / 488.2 MB, free: 3.984 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.2377, allocations: 16.59 kB / 488.2 MB, free: 3.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.238, allocations: 139.4 kB / 488.4 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.2382, allocations: 216 kB / 488.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.2385, allocations: 238.1 kB / 488.8 MB, free: 3.742 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.239, allocations: 444.1 kB / 489.2 MB, free: 3.648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.239, allocations: 4 kB / 489.2 MB, free: 3.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.239, allocations: 0 / 489.2 MB, free: 3.645 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.239, allocations: 0 / 489.2 MB, free: 3.645 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001065/0.2401, allocations: 0.6876 MB / 489.9 MB, free: 3.102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2402, allocations: 9.531 kB / 489.9 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00054/0.2407, allocations: 96.55 kB / 490 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.2412, allocations: 392.8 kB / 490.4 MB, free: 2.777 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.2413, allocations: 30.59 kB / 490.4 MB, free: 2.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.2414, allocations: 63.12 kB / 490.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008338/0.2422, allocations: 0.6393 MB / 491.1 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.2423, allocations: 4.562 kB / 491.2 MB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.2423, allocations: 21.66 kB / 491.2 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.2424, allocations: 29.3 kB / 491.2 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007523/0.2432, allocations: 478.3 kB / 491.7 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.2461, allocations: 3.019 MB / 494.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.2464, allocations: 178 kB / 494.9 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.2466, allocations: 104.5 kB / 495 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.2466, allocations: 3.359 kB / 495 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.2467, allocations: 41.3 kB / 495 MB, free: 15.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.565e-06/0.2467, allocations: 0 / 495 MB, free: 15.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001426/0.2481, allocations: 0.8422 MB / 495.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2482, allocations: 88.58 kB / 495.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.2486, allocations: 341.6 kB / 496.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.2486, allocations: 30.48 kB / 496.3 MB, free: 14.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.2488, allocations: 313 kB / 496.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.2489, allocations: 73.55 kB / 496.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.2489, allocations: 10.72 kB / 496.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.249, allocations: 342.3 kB / 497 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.2492, allocations: 123.2 kB / 497.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.2495, allocations: 327.8 kB / 497.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.2501, allocations: 0.4928 MB / 498 MB, free: 13.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2501, allocations: 1.344 kB / 498 MB, free: 13.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001059/0.2512, allocations: 0.557 MB / 498.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.2512, allocations: 10.91 kB / 498.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005149/0.2518, allocations: 276.2 kB / 498.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/0.2521, allocations: 84.06 kB / 498.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.2525, allocations: 100.6 kB / 499 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.254, allocations: 1.596 MB / 0.4888 GB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.2543, allocations: 21.11 kB / 0.4889 GB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.2544, allocations: 23.19 kB / 0.4889 GB, free: 11.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002877/0.2547, allocations: 229.9 kB / 0.4891 GB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.2547, allocations: 31.67 kB / 0.4891 GB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.2552, allocations: 292.1 kB / 0.4894 GB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2552, allocations: 2.656 kB / 0.4894 GB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2552, allocations: 3.938 kB / 0.4894 GB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2553, allocations: 2.516 kB / 0.4894 GB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.2565, allocations: 0.7962 MB / 0.4902 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2565, allocations: 1.234 kB / 0.4902 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.2568, allocations: 58.44 kB / 0.4903 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2568, allocations: 5.891 kB / 0.4903 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.2568, allocations: 4.172 kB / 0.4903 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.2568, allocations: 3.125 kB / 0.4903 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2568, allocations: 1.25 kB / 0.4903 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.2574, allocations: 477.7 kB / 0.4907 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.2575, allocations: 108.1 kB / 0.4908 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.2576, allocations: 8.625 kB / 0.4908 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.2578, allocations: 10.02 kB / 0.4908 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.2578, allocations: 29.78 kB / 0.4909 GB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.2578, allocations: 9.359 kB / 0.4909 GB, free: 10.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002527/0.2581, allocations: 230.1 kB / 0.4911 GB, free: 10.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2581, allocations: 0 / 0.4911 GB, free: 10.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004955/0.2586, allocations: 96.56 kB / 0.4912 GB, free: 10.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (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.0001213/0.2587, allocations: 105.4 kB / 0.4913 GB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007299/0.2595, allocations: 438.4 kB / 0.4917 GB, free: 9.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2595, allocations: 1.625 kB / 0.4917 GB, free: 9.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.2597, allocations: 106.3 kB / 0.4918 GB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.2602, allocations: 71.92 kB / 0.4919 GB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.2618, allocations: 1.267 MB / 0.4931 GB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.2622, allocations: 0.869 MB / 0.494 GB, free: 8.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.2623, allocations: 30.41 kB / 0.494 GB, free: 8.055 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2623, allocations: 1 kB / 0.494 GB, free: 8.055 MB / 330.7 MB Notification: Performance of Templates: time 0.008213/0.2706, allocations: 5.586 MB / 0.4995 GB, free: 5.184 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)