Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001724/0.001724, allocations: 172.4 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.811/2.811, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.001072/0.001071, allocations: 98.5 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.4258/0.4258, allocations: 38.07 MB / 357.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005955/0.000596, allocations: 19.92 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5482, allocations: 56.32 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/0.7758, allocations: 101.8 MB / 0.5684 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004915/0.7764, allocations: 95.94 kB / 0.5685 GB, free: 492 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08331/0.8597, allocations: 15.75 MB / 0.5838 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.8598, allocations: 0 / 0.5838 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.741e-05/0.8599, allocations: 12 kB / 0.5839 GB, free: 0.5547 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003146/0.8631, allocations: 0.8222 MB / 0.5847 GB, free: 15.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.8631, allocations: 8.031 kB / 0.5847 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.8642, allocations: 92.12 kB / 0.5848 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.8662, allocations: 0.527 MB / 0.5853 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.8663, allocations: 37.36 kB / 0.5853 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.8665, allocations: 36.38 kB / 0.5853 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.869, allocations: 0.8362 MB / 0.5862 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.869, allocations: 12.12 kB / 0.5862 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.8691, allocations: 23.92 kB / 0.5862 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002624/0.8694, allocations: 56.95 kB / 0.5862 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.8716, allocations: 0.7612 MB / 0.587 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006772/0.8784, allocations: 2.642 MB / 0.5896 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.8802, allocations: 0.5954 MB / 0.5902 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.8813, allocations: 470.7 kB / 0.5906 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.638e-05/0.8814, allocations: 7.938 kB / 0.5906 GB, free: 9.344 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.8815, allocations: 38.55 kB / 0.5906 GB, free: 9.297 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 7.264e-06/0.8815, allocations: 0 / 0.5906 GB, free: 9.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.00601/0.8875, allocations: 1.973 MB / 0.5926 GB, free: 7.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.8877, allocations: 142.8 kB / 0.5927 GB, free: 7.117 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.8883, allocations: 276.5 kB / 0.593 GB, free: 6.844 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.09e-05/0.8884, allocations: 33.83 kB / 0.593 GB, free: 6.805 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.8887, allocations: 248.5 kB / 0.5932 GB, free: 6.555 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.889, allocations: 199.9 kB / 0.5934 GB, free: 6.359 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.8891, allocations: 11.98 kB / 0.5934 GB, free: 6.348 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002483/0.8894, allocations: 350.8 kB / 0.5938 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009531/0.8903, allocations: 364.8 kB / 0.5941 GB, free: 5.633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.8914, allocations: 482.5 kB / 0.5946 GB, free: 5.117 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.8938, allocations: 0.9994 MB / 0.5956 GB, free: 4.055 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8938, allocations: 0 / 0.5956 GB, free: 4.055 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002803/0.8967, allocations: 1.002 MB / 0.5965 GB, free: 3.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.8968, allocations: 77.59 kB / 0.5966 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.8969, allocations: 4 kB / 0.5966 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.8972, allocations: 44.83 kB / 0.5967 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.898, allocations: 87.81 kB / 0.5967 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.9, allocations: 1.457 MB / 0.5982 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.9006, allocations: 31.95 kB / 0.5982 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/0.9007, allocations: 24 kB / 0.5982 GB, free: 1.172 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 1 * 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.0006037/0.9013, allocations: 295.4 kB / 0.5985 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.9015, allocations: 39.53 kB / 0.5985 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/0.9043, allocations: 1.135 MB / 0.5996 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.263e-05/0.9044, allocations: 12 kB / 0.5997 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.9044, allocations: 0 / 0.5997 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.9045, allocations: 3.984 kB / 0.5997 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004292/0.9088, allocations: 1.819 MB / 0.6014 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.9088, allocations: 0 / 0.6014 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.9093, allocations: 55.95 kB / 0.6015 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.9096, allocations: 48.7 kB / 0.6015 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/0.9096, allocations: 11.94 kB / 0.6016 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.9116, allocations: 1.441 MB / 0.603 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9116, allocations: 0 / 0.603 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/0.9143, allocations: 1.218 MB / 0.6041 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.9148, allocations: 184.5 kB / 0.6043 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.9149, allocations: 12 kB / 0.6043 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.9154, allocations: 31.95 kB / 0.6044 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.9156, allocations: 43.89 kB / 0.6044 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-05/0.9157, allocations: 23.97 kB / 0.6044 GB, free: 10.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003617/0.9161, allocations: 195.1 kB / 0.6046 GB, free: 10.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9161, allocations: 0 / 0.6046 GB, free: 10.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001078/0.9172, allocations: 167.9 kB / 0.6048 GB, free: 10.16 MB / 442.7 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 (31): * Single equations (assignments): 25 * Array equations: 3 * Algorithm blocks: 1 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003967/0.9176, allocations: 143.1 kB / 0.6049 GB, free: 10 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.9205, allocations: 1.409 MB / 0.6063 GB, free: 8.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.9206, allocations: 0 / 0.6063 GB, free: 8.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.9223, allocations: 0.9454 MB / 0.6072 GB, free: 7.602 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009964/0.9234, allocations: 68.61 kB / 0.6073 GB, free: 7.535 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.9273, allocations: 1.729 MB / 0.609 GB, free: 5.762 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/0.928, allocations: 0.8979 MB / 0.6098 GB, free: 4.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.9282, allocations: 43.42 kB / 0.6099 GB, free: 4.797 MB / 442.7 MB Notification: Performance of SimCode: time 1.233e-06/0.9282, allocations: 0 / 0.6099 GB, free: 4.797 MB / 442.7 MB Notification: Performance of Templates: time 0.01834/0.9466, allocations: 8.539 MB / 0.6182 GB, free: 12.27 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)