Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 107.7 kB / 16.92 MB, free: 5.699 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.00164/0.00164, allocations: 192.7 kB / 17.85 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1779/0.1779, allocations: 38.02 MB / 329.7 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 61.42 kB / 398.8 MB, free: 34.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1071, allocations: 58.06 MB / 456.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.0061/0.1133, allocations: 4.577 MB / 461.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1157, allocations: 1.468 MB / 462.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.1158, allocations: 15.88 kB / 462.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009694/0.1169, allocations: 385.8 kB / 463.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004802/0.1174, allocations: 238.8 kB / 463.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.118, allocations: 251.4 kB / 463.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005296/0.1185, allocations: 0.5612 MB / 464.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.119, allocations: 330.5 kB / 464.7 MB, free: 216 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.1193, allocations: 259 kB / 464.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004085/0.1197, allocations: 311 kB / 465.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.477e-05/0.1198, allocations: 36 kB / 465.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.1201, allocations: 147.8 kB / 465.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.1203, allocations: 223.4 kB / 465.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.1205, allocations: 250.8 kB / 465.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006035/0.1211, allocations: 0.5879 MB / 466.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1212, allocations: 0 / 466.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1212, allocations: 4 kB / 466.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1212, allocations: 0 / 466.4 MB, free: 14.41 MB / 350.1 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.001258/0.1225, allocations: 0.7621 MB / 467.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1225, allocations: 11.89 kB / 467.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005993/0.1231, allocations: 92.22 kB / 467.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/0.1237, allocations: 400 kB / 467.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.1237, allocations: 33.38 kB / 467.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.1238, allocations: 56.09 kB / 467.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008293/0.1247, allocations: 0.645 MB / 468.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.1247, allocations: 7.938 kB / 468.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.1248, allocations: 16 kB / 468.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/0.1249, allocations: 32.92 kB / 468.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006986/0.1256, allocations: 483.5 kB / 469 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.1287, allocations: 3.022 MB / 472 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.129, allocations: 185 kB / 472.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.1292, allocations: 101.7 kB / 472.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.1292, allocations: 8 kB / 472.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1292, allocations: 34.55 kB / 472.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.1293, allocations: 11.94 kB / 472.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001252/0.1305, allocations: 0.8293 MB / 473.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.1306, allocations: 85.06 kB / 473.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.1309, allocations: 345.5 kB / 473.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1309, allocations: 29.7 kB / 473.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.1311, allocations: 306.9 kB / 473.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.1312, allocations: 75.12 kB / 474 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.1313, allocations: 89.94 kB / 474.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1315, allocations: 350.8 kB / 474.4 MB, free: 6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.1316, allocations: 124.8 kB / 474.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.132, allocations: 322.8 kB / 474.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.1325, allocations: 0.5008 MB / 475.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1325, allocations: 0 / 475.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009618/0.1335, allocations: 0.5601 MB / 475.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1335, allocations: 8 kB / 475.9 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004873/0.134, allocations: 278.9 kB / 476.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.1343, allocations: 81.31 kB / 476.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.1347, allocations: 99.83 kB / 476.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.1362, allocations: 1.727 MB / 478.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.1365, allocations: 20 kB / 478.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.1365, allocations: 27.98 kB / 478.1 MB, free: 1.922 MB / 350.1 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.1367, allocations: 209.5 kB / 478.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.1368, allocations: 35.53 kB / 478.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.1373, allocations: 300.7 kB / 478.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1373, allocations: 4 kB / 478.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1373, allocations: 0 / 478.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1373, allocations: 3.938 kB / 478.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.1384, allocations: 0.795 MB / 479.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1384, allocations: 3.984 kB / 479.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.1387, allocations: 51.97 kB / 479.5 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1387, allocations: 0 / 479.5 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.1388, allocations: 8 kB / 479.5 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.1388, allocations: 7.938 kB / 479.5 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1388, allocations: 3.938 kB / 479.5 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.1393, allocations: 488.8 kB / 480 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.1394, allocations: 100.7 kB / 480.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.1395, allocations: 11.98 kB / 480.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1396, allocations: 8.219 kB / 480.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.1397, allocations: 19.92 kB / 480.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1397, allocations: 7.984 kB / 480.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.1399, allocations: 239.2 kB / 480.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1399, allocations: 0 / 480.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004315/0.1403, allocations: 96 kB / 480.5 MB, free: 15.45 MB / 366.1 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 (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.0001173/0.1405, allocations: 99.23 kB / 480.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007373/0.1412, allocations: 475.2 kB / 481 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1412, allocations: 0 / 481 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1414, allocations: 115.8 kB / 481.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.1419, allocations: 62.34 kB / 481.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.1433, allocations: 0.9811 MB / 482.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.1437, allocations: 0.8661 MB / 483.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000268/0.144, allocations: 115.2 kB / 483.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.1441, allocations: 35.42 kB / 483.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1441, allocations: 4 kB / 483.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.007088/0.1512, allocations: 3.531 MB / 486.7 MB, free: 9.117 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)