Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 102.7 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3155/0.3155, allocations: 38.07 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000653/0.0006533, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.114, allocations: 56.31 MB / 479 MB, free: 2.055 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5525/0.6665, allocations: 110 MB / 0.5753 GB, free: 6.074 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/0.6669, allocations: 100.5 kB / 0.5754 GB, free: 6.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1068/0.7738, allocations: 23.32 MB / 0.5981 GB, free: 1.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.7738, allocations: 0 / 0.5981 GB, free: 1.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.249e-05/0.7739, allocations: 23.98 kB / 0.5982 GB, free: 1.945 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004794/0.7787, allocations: 1.247 MB / 0.5994 GB, free: 0.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.7788, allocations: 15.97 kB / 0.5994 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.7802, allocations: 146.8 kB / 0.5995 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005359/0.7856, allocations: 1.267 MB / 0.6008 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003685/0.786, allocations: 182.8 kB / 0.6009 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.7863, allocations: 77.88 kB / 0.601 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/0.7902, allocations: 1.366 MB / 0.6024 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.54e-05/0.7903, allocations: 8 kB / 0.6024 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.7905, allocations: 33.38 kB / 0.6024 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.7906, allocations: 57.03 kB / 0.6024 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/0.795, allocations: 1.295 MB / 0.6037 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.8074, allocations: 4.959 MB / 0.6086 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.8116, allocations: 1.204 MB / 0.6097 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.8118, allocations: 16.58 kB / 0.6097 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.8118, allocations: 50.42 kB / 0.6098 GB, free: 7.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 4.017e-06/0.8119, allocations: 0 / 0.6098 GB, free: 7.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.01071/0.8226, allocations: 3.443 MB / 0.6132 GB, free: 5.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.8227, allocations: 89.61 kB / 0.6132 GB, free: 5.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008129/0.8235, allocations: 406.1 kB / 0.6136 GB, free: 4.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002271/0.8238, allocations: 36.39 kB / 0.6137 GB, free: 4.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.8241, allocations: 436.3 kB / 0.6141 GB, free: 4.328 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004418/0.8246, allocations: 261.9 kB / 0.6143 GB, free: 4.102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/0.8247, allocations: 10.75 kB / 0.6143 GB, free: 4.102 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.8249, allocations: 345.3 kB / 0.6147 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.8266, allocations: 0.5188 MB / 0.6152 GB, free: 3.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.8285, allocations: 0.7153 MB / 0.6159 GB, free: 2.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.8305, allocations: 0.5888 MB / 0.6164 GB, free: 2.379 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.8305, allocations: 0 / 0.6164 GB, free: 2.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.008237/0.8387, allocations: 2.093 MB / 0.6185 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.8388, allocations: 8 kB / 0.6185 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007829/0.8467, allocations: 1.857 MB / 0.6203 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003458/0.8502, allocations: 0.6885 MB / 0.621 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.8515, allocations: 151.8 kB / 0.6211 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/0.8722, allocations: 7.249 MB / 0.6282 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.8736, allocations: 88.09 kB / 0.6283 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.8737, allocations: 35.92 kB / 0.6283 GB, free: 6.633 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007851/0.8745, allocations: 305.5 kB / 0.6286 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.8747, allocations: 59.25 kB / 0.6287 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/0.879, allocations: 1.325 MB / 0.63 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.967e-05/0.8791, allocations: 16 kB / 0.63 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8792, allocations: 3.953 kB / 0.63 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.8792, allocations: 3.984 kB / 0.63 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007316/0.8865, allocations: 2.464 MB / 0.6324 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.8866, allocations: 4 kB / 0.6324 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005832/0.8924, allocations: 0.64 MB / 0.633 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.8926, allocations: 28.84 kB / 0.6331 GB, free: 1.652 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/0.8928, allocations: 19.94 kB / 0.6331 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.8942, allocations: 1.385 MB / 0.6344 GB, free: 120 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8943, allocations: 0 / 0.6344 GB, free: 120 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006216/0.9005, allocations: 2.136 MB / 0.6365 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.9008, allocations: 128.3 kB / 0.6366 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.901, allocations: 16 kB / 0.6366 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009746/0.902, allocations: 75.97 kB / 0.6367 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/0.9023, allocations: 64.47 kB / 0.6368 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.162e-05/0.9024, allocations: 23.95 kB / 0.6368 GB, free: 13.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005861/0.903, allocations: 318.8 kB / 0.6371 GB, free: 13.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-07/0.903, allocations: 0 / 0.6371 GB, free: 13.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001422/0.9044, allocations: 255.9 kB / 0.6374 GB, free: 13.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003905/0.9048, allocations: 156.6 kB / 0.6375 GB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005014/0.9098, allocations: 1.607 MB / 0.6391 GB, free: 11.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.9099, allocations: 3.938 kB / 0.6391 GB, free: 11.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005395/0.9153, allocations: 1.138 MB / 0.6402 GB, free: 10.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.9165, allocations: 138.8 kB / 0.6403 GB, free: 9.938 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006996/0.9236, allocations: 2.797 MB / 0.6431 GB, free: 7.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.9246, allocations: 1.087 MB / 0.6441 GB, free: 5.977 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.9252, allocations: 59.44 kB / 0.6442 GB, free: 5.918 MB / 442.7 MB Notification: Performance of SimCode: time 2.735e-06/0.9252, allocations: 0 / 0.6442 GB, free: 5.918 MB / 442.7 MB Notification: Performance of Templates: time 0.03798/0.9632, allocations: 19.38 MB / 0.6631 GB, free: 2.52 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)