Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008299/0.00083, allocations: 172.8 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.161/1.161, allocations: 205.4 MB / 222.2 MB, free: 9.027 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.0007427/0.0007427, allocations: 100.9 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1597/0.1597, allocations: 38.06 MB / 356.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003222, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.213, allocations: 56.32 MB / 479.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004274/0.2173, allocations: 4.741 MB / 484.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.2191, allocations: 1.501 MB / 485.9 MB, free: 5.059 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.2194, allocations: 26.19 kB / 485.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.2196, allocations: 100.9 kB / 486 MB, free: 4.996 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.2201, allocations: 257 kB / 486.2 MB, free: 4.855 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.2206, allocations: 183 kB / 486.4 MB, free: 4.773 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.2211, allocations: 0.6322 MB / 487.1 MB, free: 4.535 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007562/0.2219, allocations: 0.5859 MB / 487.6 MB, free: 4.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.2222, allocations: 203 kB / 487.8 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.2226, allocations: 259.6 kB / 488.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.2226, allocations: 16.5 kB / 488.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.2229, allocations: 127.4 kB / 488.2 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.223, allocations: 169.6 kB / 488.4 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.2232, allocations: 222.5 kB / 488.6 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.2236, allocations: 397.2 kB / 489 MB, free: 3.688 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2236, allocations: 0.5625 kB / 489 MB, free: 3.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2237, allocations: 0 / 489 MB, free: 3.688 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2237, allocations: 1.375 kB / 489 MB, free: 3.688 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007983/0.2245, allocations: 0.6437 MB / 489.6 MB, free: 3.148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.2245, allocations: 10.28 kB / 489.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005579/0.2251, allocations: 83.84 kB / 489.7 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.2256, allocations: 405.5 kB / 490.1 MB, free: 2.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.2256, allocations: 22.62 kB / 490.2 MB, free: 2.812 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.2257, allocations: 45.94 kB / 490.2 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.2264, allocations: 484.1 kB / 490.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.2264, allocations: 1.094 kB / 490.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.2265, allocations: 11.88 kB / 490.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.762e-05/0.2266, allocations: 28.25 kB / 490.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.2271, allocations: 344.8 kB / 491.1 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.2289, allocations: 1.632 MB / 492.7 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.2292, allocations: 173.1 kB / 492.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.2294, allocations: 120.2 kB / 493 MB, free: 1.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2294, allocations: 2.25 kB / 493 MB, free: 1.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.2294, allocations: 36.27 kB / 493 MB, free: 1.129 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.2294, allocations: 0 / 493 MB, free: 1.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.001115/0.2305, allocations: 0.7861 MB / 493.8 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.2306, allocations: 83.97 kB / 493.9 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.2309, allocations: 305.6 kB / 494.2 MB, free: 356 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2309, allocations: 29.7 kB / 494.2 MB, free: 320 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.231, allocations: 258.8 kB / 494.5 MB, free: 104 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.231, allocations: 66.36 kB / 494.5 MB, free: 52 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.2311, allocations: 9.156 kB / 494.5 MB, free: 44 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2312, allocations: 349.3 kB / 494.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.2314, allocations: 91.22 kB / 495 MB, free: 15.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.2316, allocations: 196.6 kB / 495.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.232, allocations: 330.3 kB / 495.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.232, allocations: 5.062 kB / 495.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007647/0.2328, allocations: 426.4 kB / 495.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2328, allocations: 6.219 kB / 495.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004913/0.2333, allocations: 261.3 kB / 496.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.2336, allocations: 80.89 kB / 496.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.2339, allocations: 65.7 kB / 496.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.2354, allocations: 1.592 MB / 497.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.2355, allocations: 10.48 kB / 497.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.2356, allocations: 16.16 kB / 497.9 MB, free: 13.55 MB / 330.7 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 (34): * Single equations (assignments): 33 * 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.0002207/0.2358, allocations: 202 kB / 498.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.2359, allocations: 30.28 kB / 498.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.2363, allocations: 270 kB / 498.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2363, allocations: 2.156 kB / 498.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.2363, allocations: 1.656 kB / 498.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2363, allocations: 1.969 kB / 498.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2375, allocations: 0.7522 MB / 499.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2375, allocations: 1.875 kB / 499.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.2377, allocations: 55.47 kB / 499.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2378, allocations: 1.469 kB / 499.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2378, allocations: 5.703 kB / 499.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2378, allocations: 1.25 kB / 499.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.2378, allocations: 5.219 kB / 499.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.2384, allocations: 450.2 kB / 499.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.2384, allocations: 115.8 kB / 499.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.2385, allocations: 7.875 kB / 499.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.2386, allocations: 8.641 kB / 499.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.2387, allocations: 16.98 kB / 499.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2387, allocations: 12.97 kB / 499.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002182/0.2389, allocations: 215 kB / 0.4883 GB, free: 12.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2389, allocations: 3.938 kB / 0.4883 GB, free: 12.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003752/0.2393, allocations: 84.84 kB / 0.4884 GB, free: 12.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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.0001026/0.2394, allocations: 108.2 kB / 0.4885 GB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005795/0.24, allocations: 370.2 kB / 0.4889 GB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.24, allocations: 0 / 0.4889 GB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.2402, allocations: 103.1 kB / 0.489 GB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.2406, allocations: 60.17 kB / 0.489 GB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.2421, allocations: 1.17 MB / 0.4902 GB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.2425, allocations: 0.8526 MB / 0.491 GB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.2426, allocations: 31.8 kB / 0.491 GB, free: 10.38 MB / 330.7 MB Notification: Performance of SimCode: time 4.2e-07/0.2426, allocations: 1.062 kB / 0.491 GB, free: 10.38 MB / 330.7 MB Notification: Performance of Templates: time 0.007112/0.2498, allocations: 5.203 MB / 0.4961 GB, free: 7.762 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)