Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001911/0.001911, allocations: 192 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2301/0.2301, allocations: 37.99 MB / 309.8 MB, free: 5.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 67.83 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2235, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004136/0.2276, allocations: 4.052 MB / 436.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2288, allocations: 0.9319 MB / 437 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.2289, allocations: 11.94 kB / 437 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.2291, allocations: 55.5 kB / 437.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.2296, allocations: 179 kB / 437.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.2298, allocations: 91.81 kB / 437.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.2301, allocations: 398.6 kB / 437.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.2303, allocations: 126.2 kB / 437.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.2304, allocations: 183.2 kB / 438 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.2307, allocations: 199.2 kB / 438.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.2308, allocations: 20 kB / 438.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.83e-05/0.2308, allocations: 20 kB / 438.3 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.2309, allocations: 111.7 kB / 438.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.231, allocations: 147.2 kB / 438.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.2313, allocations: 318.9 kB / 438.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2313, allocations: 0 / 438.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2313, allocations: 0 / 438.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2313, allocations: 0 / 438.8 MB, free: 12.67 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008757/0.2322, allocations: 0.6221 MB / 439.4 MB, free: 12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.2322, allocations: 19.89 kB / 439.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.2323, allocations: 32.56 kB / 439.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.2327, allocations: 350.9 kB / 439.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2327, allocations: 16.94 kB / 439.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.2328, allocations: 24.12 kB / 439.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.2331, allocations: 316.5 kB / 440.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2331, allocations: 8 kB / 440.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.2332, allocations: 8 kB / 440.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2332, allocations: 8 kB / 440.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.2334, allocations: 217.5 kB / 440.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.2346, allocations: 1.344 MB / 441.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.2349, allocations: 145.2 kB / 441.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.287e-05/0.2349, allocations: 61.91 kB / 442 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.235, allocations: 7.875 kB / 442 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.235, allocations: 42.55 kB / 442 MB, free: 9.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.235, allocations: 0 / 442 MB, free: 9.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000629/0.2356, allocations: 363.5 kB / 442.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.2357, allocations: 77.11 kB / 442.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.2359, allocations: 263 kB / 442.7 MB, free: 8.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2359, allocations: 29.7 kB / 442.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.161e-05/0.236, allocations: 195.6 kB / 442.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.236, allocations: 51.41 kB / 443 MB, free: 8.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.2361, allocations: 45.7 kB / 443 MB, free: 8.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.2361, allocations: 342.8 kB / 443.4 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.763e-05/0.2362, allocations: 51.95 kB / 443.4 MB, free: 7.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2363, allocations: 152.8 kB / 443.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.2365, allocations: 227.9 kB / 443.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2365, allocations: 4 kB / 443.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002883/0.2368, allocations: 245 kB / 444 MB, free: 7.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2369, allocations: 8.438 kB / 444 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2369, allocations: 4 kB / 444 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2369, allocations: 8 kB / 444 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.2371, allocations: 51.91 kB / 444.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.2371, allocations: 11.92 kB / 444.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.2372, allocations: 4 kB / 444.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.2372, allocations: 12 kB / 444.1 MB, free: 6.961 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.2374, allocations: 161.7 kB / 444.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.2374, allocations: 19.72 kB / 444.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.2377, allocations: 199.2 kB / 444.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2377, allocations: 4 kB / 444.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2377, allocations: 0 / 444.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2377, allocations: 3.984 kB / 444.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.2382, allocations: 0.5577 MB / 445.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2383, allocations: 4 kB / 445.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.2384, allocations: 27.92 kB / 445.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2384, allocations: 4 kB / 445.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2384, allocations: 0 / 445.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2384, allocations: 11.97 kB / 445.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2384, allocations: 3.984 kB / 445.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.2387, allocations: 288.8 kB / 445.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.2387, allocations: 100.8 kB / 445.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.2388, allocations: 0 / 445.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2389, allocations: 11.94 kB / 445.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.2389, allocations: 19.86 kB / 445.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.239, allocations: 8 kB / 445.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.2391, allocations: 178 kB / 445.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2391, allocations: 0 / 445.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.2394, allocations: 56 kB / 445.8 MB, free: 5.211 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * 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 9.839e-05/0.2395, allocations: 99.12 kB / 445.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.2398, allocations: 163.8 kB / 446 MB, free: 4.941 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2398, allocations: 0 / 446 MB, free: 4.941 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.2399, allocations: 72.19 kB / 446.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.2404, allocations: 56.81 kB / 446.1 MB, free: 4.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.241, allocations: 0.5229 MB / 446.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2412, allocations: 0.7831 MB / 447.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.2414, allocations: 42.27 kB / 447.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.2414, allocations: 27.42 kB / 447.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2414, allocations: 0 / 447.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of Templates: time 0.00479/0.2462, allocations: 2.22 MB / 449.7 MB, free: 1.188 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1)