Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001544, allocations: 185 kB / 13.19 MB, free: 2.121 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 2.003/2.003, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0011/0.0011, allocations: 94.59 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2939/0.2939, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.304e-05/4.32e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 56.31 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4905/0.615, allocations: 100.2 MB / 0.5599 GB, free: 3.539 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/0.6154, allocations: 87.95 kB / 0.56 GB, free: 3.453 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06451/0.6799, allocations: 14.09 MB / 0.5737 GB, free: 5.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.68, allocations: 0 / 0.5737 GB, free: 5.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.587e-05/0.68, allocations: 15.94 kB / 0.5737 GB, free: 5.219 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002672/0.6827, allocations: 0.8843 MB / 0.5746 GB, free: 4.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.6828, allocations: 8.031 kB / 0.5746 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/0.6831, allocations: 83.09 kB / 0.5747 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/0.6877, allocations: 1.093 MB / 0.5757 GB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.6881, allocations: 124.7 kB / 0.5759 GB, free: 2.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.6883, allocations: 52 kB / 0.5759 GB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.6902, allocations: 0.7342 MB / 0.5766 GB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.6902, allocations: 4 kB / 0.5766 GB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.486e-05/0.6903, allocations: 24 kB / 0.5767 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.6903, allocations: 19.95 kB / 0.5767 GB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.692, allocations: 0.5934 MB / 0.5773 GB, free: 1.465 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006963/0.699, allocations: 2.732 MB / 0.5799 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.7012, allocations: 0.767 MB / 0.5807 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.7019, allocations: 286.2 kB / 0.5809 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.7019, allocations: 8 kB / 0.5809 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.702, allocations: 38.48 kB / 0.581 GB, free: 13.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 3.597e-06/0.702, allocations: 7.938 kB / 0.581 GB, free: 13.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.003525/0.7055, allocations: 1.33 MB / 0.5823 GB, free: 12.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.7056, allocations: 81.11 kB / 0.5824 GB, free: 11.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006754/0.7063, allocations: 375 kB / 0.5827 GB, free: 11.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/0.7064, allocations: 37.64 kB / 0.5828 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.7067, allocations: 346.8 kB / 0.5831 GB, free: 11.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.7069, allocations: 138 kB / 0.5832 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.707, allocations: 16.03 kB / 0.5832 GB, free: 11.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7071, allocations: 330.8 kB / 0.5836 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.7076, allocations: 189.1 kB / 0.5837 GB, free: 10.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.7082, allocations: 302.4 kB / 0.584 GB, free: 10.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/0.7088, allocations: 219.6 kB / 0.5842 GB, free: 9.977 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7088, allocations: 0 / 0.5842 GB, free: 9.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001615/0.7105, allocations: 0.6635 MB / 0.5849 GB, free: 9.281 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.7105, allocations: 8 kB / 0.5849 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.7105, allocations: 4 kB / 0.5849 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003731/0.7109, allocations: 69.89 kB / 0.585 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/0.7139, allocations: 375.6 kB / 0.5853 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007098/0.721, allocations: 5.861 MB / 0.591 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007587/0.7218, allocations: 43.97 kB / 0.5911 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.7219, allocations: 12 kB / 0.5911 GB, free: 2.387 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.7221, allocations: 140.9 kB / 0.5912 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.7223, allocations: 47.39 kB / 0.5913 GB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.7239, allocations: 0.6335 MB / 0.5919 GB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.724, allocations: 4 kB / 0.5919 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.724, allocations: 0 / 0.5919 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.724, allocations: 3.984 kB / 0.5919 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/0.7276, allocations: 1.424 MB / 0.5933 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.7277, allocations: 0 / 0.5933 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/0.7311, allocations: 403.6 kB / 0.5937 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000376/0.7315, allocations: 69.61 kB / 0.5937 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.7316, allocations: 8 kB / 0.5938 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003052/0.7346, allocations: 2.833 MB / 0.5965 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.7347, allocations: 0 / 0.5965 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.737, allocations: 1.021 MB / 0.5975 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.7372, allocations: 116.5 kB / 0.5976 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.7373, allocations: 8 kB / 0.5976 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005983/0.7379, allocations: 44 kB / 0.5977 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.7381, allocations: 39.94 kB / 0.5977 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.7382, allocations: 8 kB / 0.5977 GB, free: 11.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005128/0.7387, allocations: 289.2 kB / 0.598 GB, free: 10.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7387, allocations: 0 / 0.598 GB, free: 10.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009293/0.7397, allocations: 151.9 kB / 0.5981 GB, free: 10.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002822/0.74, allocations: 127.2 kB / 0.5983 GB, free: 10.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003652/0.7436, allocations: 0.9498 MB / 0.5992 GB, free: 9.559 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7437, allocations: 0 / 0.5992 GB, free: 9.559 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003187/0.7469, allocations: 0.7479 MB / 0.5999 GB, free: 8.785 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.7481, allocations: 134.5 kB / 0.6 GB, free: 8.656 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.751, allocations: 1.15 MB / 0.6012 GB, free: 7.469 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/0.7518, allocations: 0.964 MB / 0.6021 GB, free: 6.477 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.7521, allocations: 35.44 kB / 0.6021 GB, free: 6.441 MB / 442.7 MB Notification: Performance of SimCode: time 1.292e-06/0.7521, allocations: 4 kB / 0.6022 GB, free: 6.438 MB / 442.7 MB Notification: Performance of Templates: time 0.03097/0.7831, allocations: 16.15 MB / 0.6179 GB, free: 6.258 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)