Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 112.8 kB / 17.29 MB, free: 6.219 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.003005/0.003006, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.703/2.703, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4676/0.4676, allocations: 38.02 MB / 330 MB, free: 8.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 64.92 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1815, allocations: 58.06 MB / 457 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.01224/0.1938, allocations: 5.151 MB / 462.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004921/0.1987, allocations: 1.589 MB / 463.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009132/0.1997, allocations: 23.88 kB / 463.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.2013, allocations: 274.9 kB / 464 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.2028, allocations: 266.9 kB / 464.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.204, allocations: 227.6 kB / 464.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.2055, allocations: 0.6664 MB / 465.2 MB, free: 188 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008172/0.2063, allocations: 248.3 kB / 465.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008564/0.2072, allocations: 298.8 kB / 465.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.2084, allocations: 434.8 kB / 466.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003117/0.2087, allocations: 44 kB / 466.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009942/0.2097, allocations: 235.6 kB / 466.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005306/0.2103, allocations: 255.3 kB / 466.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.2108, allocations: 286.6 kB / 466.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.212, allocations: 0.5574 MB / 467.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.212, allocations: 0 / 467.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.212, allocations: 3.938 kB / 467.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.2121, allocations: 8 kB / 467.5 MB, free: 13.84 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002529/0.2146, allocations: 0.8729 MB / 468.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.2147, allocations: 11.89 kB / 468.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000932/0.2156, allocations: 92.14 kB / 468.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009714/0.2166, allocations: 427.9 kB / 468.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.2167, allocations: 33.38 kB / 468.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.2168, allocations: 44.06 kB / 469 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.2187, allocations: 0.8629 MB / 469.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.2188, allocations: 7.906 kB / 469.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.2189, allocations: 16 kB / 469.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002232/0.2191, allocations: 56.95 kB / 469.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.2211, allocations: 0.8001 MB / 470.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005902/0.227, allocations: 2.722 MB / 473.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.2285, allocations: 0.5833 MB / 474 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/0.2294, allocations: 450.7 kB / 474.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-05/0.2294, allocations: 7.938 kB / 474.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.2295, allocations: 42.56 kB / 474.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 3.757e-06/0.2295, allocations: 0 / 474.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.004751/0.2343, allocations: 1.875 MB / 476.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.2345, allocations: 146.7 kB / 476.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005178/0.235, allocations: 288.5 kB / 476.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.2351, allocations: 37.83 kB / 476.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.2354, allocations: 264.2 kB / 477.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.2356, allocations: 185.3 kB / 477.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.2359, allocations: 106 kB / 477.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.2361, allocations: 350.7 kB / 477.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/0.2368, allocations: 344.9 kB / 478.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008694/0.2377, allocations: 477.8 kB / 478.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.2396, allocations: 0.9837 MB / 479.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.2397, allocations: 4 kB / 479.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002406/0.2421, allocations: 0.9771 MB / 480.5 MB, free: 296 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.2423, allocations: 77.59 kB / 480.6 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.2423, allocations: 4 kB / 480.6 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.2426, allocations: 40.83 kB / 480.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.2432, allocations: 83.83 kB / 480.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.2454, allocations: 1.563 MB / 482.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.246, allocations: 27.97 kB / 482.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.2462, allocations: 24 kB / 482.3 MB, free: 14.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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.000675/0.2468, allocations: 315.3 kB / 482.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.2471, allocations: 39.53 kB / 482.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.2495, allocations: 1.08 MB / 483.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-05/0.2495, allocations: 15.92 kB / 483.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.2495, allocations: 4 kB / 483.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2496, allocations: 4 kB / 483.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.2537, allocations: 1.796 MB / 485.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.2537, allocations: 0 / 485.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/0.2542, allocations: 55.91 kB / 485.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.2544, allocations: 36.83 kB / 485.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.2544, allocations: 12.06 kB / 485.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.2564, allocations: 1.559 MB / 487.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.2564, allocations: 4 kB / 487.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.2589, allocations: 1.179 MB / 488.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/0.2593, allocations: 176.5 kB / 488.6 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.2594, allocations: 16 kB / 488.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.2599, allocations: 31.95 kB / 488.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.2601, allocations: 43.83 kB / 488.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.651e-05/0.2602, allocations: 16 kB / 488.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003681/0.2606, allocations: 203.1 kB / 488.9 MB, free: 7.453 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2606, allocations: 0 / 488.9 MB, free: 7.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001026/0.2616, allocations: 140 kB / 489 MB, free: 7.316 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0004164/0.2621, allocations: 151.1 kB / 489.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.2653, allocations: 1.484 MB / 490.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2653, allocations: 3.938 kB / 490.7 MB, free: 5.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.2669, allocations: 0.9124 MB / 491.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009591/0.2679, allocations: 65.05 kB / 491.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.2716, allocations: 1.672 MB / 493.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009074/0.2725, allocations: 0.9093 MB / 494.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.2728, allocations: 35.44 kB / 494.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2728, allocations: 0 / 494.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of Templates: time 0.02147/0.2943, allocations: 8.387 MB / 0.4909 GB, free: 9.578 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)