Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009942/0.0009941, allocations: 184.4 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008296/0.0008297, allocations: 87.11 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002913, allocations: 11.47 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1703, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01239/0.1828, allocations: 15.6 MB / 0.9161 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007385/0.1902, allocations: 5.598 MB / 0.9215 GB, free: 42.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.1913, allocations: 43.88 kB / 0.9216 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006846/0.1921, allocations: 321.7 kB / 0.9219 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.1934, allocations: 0.638 MB / 0.9225 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.1951, allocations: 0.6929 MB / 0.9232 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003385/0.1984, allocations: 4.95 MB / 0.928 GB, free: 36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007802/0.2063, allocations: 7.023 MB / 0.9349 GB, free: 28.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.2082, allocations: 1.312 MB / 0.9362 GB, free: 27.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.2103, allocations: 1.881 MB / 0.938 GB, free: 25.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003702/0.2107, allocations: 188 kB / 0.9382 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.2117, allocations: 419.6 kB / 0.9386 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009787/0.2127, allocations: 1.384 MB / 0.9399 GB, free: 23.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005069/0.2132, allocations: 0.5628 MB / 0.9405 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003316/0.2165, allocations: 5.338 MB / 0.9457 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2166, allocations: 0 / 0.9457 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2166, allocations: 4 kB / 0.9457 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000166/0.2167, allocations: 0 / 0.9457 GB, free: 17.79 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.005165/0.2219, allocations: 2.502 MB / 0.9481 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.222, allocations: 8.031 kB / 0.9481 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.2269, allocations: 1.144 MB / 0.9493 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/0.2296, allocations: 1.584 MB / 0.9508 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.2298, allocations: 226 kB / 0.951 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005635/0.2304, allocations: 296 kB / 0.9513 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007682/0.2381, allocations: 5.28 MB / 0.9565 GB, free: 6.555 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.812e-05/0.2381, allocations: 4 kB / 0.9565 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/0.2384, allocations: 124 kB / 0.9566 GB, free: 6.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.2386, allocations: 209 kB / 0.9568 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006363/0.245, allocations: 4.75 MB / 0.9614 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02761/0.2726, allocations: 23.18 MB / 0.9841 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004658/0.2773, allocations: 3.199 MB / 0.9872 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.2788, allocations: 0.9134 MB / 0.9881 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.279, allocations: 109.7 kB / 0.9882 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.279, allocations: 51.16 kB / 0.9882 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 3.626e-06/0.279, allocations: 0 / 0.9882 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.003489/0.2825, allocations: 2.082 MB / 0.9903 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.2827, allocations: 230.5 kB / 0.9905 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.2846, allocations: 1.083 MB / 0.9915 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.362e-05/0.2847, allocations: 41.7 kB / 0.9916 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009711/0.2857, allocations: 1.284 MB / 0.9928 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.286, allocations: 299.9 kB / 0.9931 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.2861, allocations: 32 kB / 0.9931 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.2864, allocations: 406.7 kB / 0.9935 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.2878, allocations: 0.886 MB / 0.9944 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.2897, allocations: 1.515 MB / 0.9959 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.2915, allocations: 1.182 MB / 0.997 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.851e-05/0.2915, allocations: 4 kB / 0.997 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003871/0.2954, allocations: 2.488 MB / 0.9995 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005079/0.2959, allocations: 0.6428 MB / 1 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.2959, allocations: 20 kB / 1 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.975e-05/0.296, allocations: 36 kB / 1 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.2976, allocations: 467.2 kB / 1.001 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.369e-05/0.2976, allocations: 39.86 kB / 1.001 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.2991, allocations: 337.9 kB / 1.001 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.2993, allocations: 87.98 kB / 1.001 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.2993, allocations: 10.44 kB / 1.001 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00305/0.3023, allocations: 2.21 MB / 1.003 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.3024, allocations: 20 kB / 1.003 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.3024, allocations: 32 kB / 1.003 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.3038, allocations: 439.2 kB / 1.004 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.578e-05/0.3038, allocations: 43.84 kB / 1.004 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.305, allocations: 242.6 kB / 1.004 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.3051, allocations: 84.02 kB / 1.004 GB, free: 2.602 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001909/0.307, allocations: 1.277 MB / 1.005 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.3073, allocations: 102.8 kB / 1.005 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.3096, allocations: 1.571 MB / 1.007 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.3096, allocations: 12 kB / 1.007 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3097, allocations: 0 / 1.007 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3097, allocations: 7.984 kB / 1.007 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006329/0.316, allocations: 4.502 MB / 1.011 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.3161, allocations: 0 / 1.011 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009881/0.3171, allocations: 247.6 kB / 1.012 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.3171, allocations: 8 kB / 1.012 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/0.3171, allocations: 16 kB / 1.012 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.3171, allocations: 11.92 kB / 1.012 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3172, allocations: 4 kB / 1.012 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.3193, allocations: 1.919 MB / 1.013 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005762/0.3199, allocations: 355.6 kB / 1.014 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.32, allocations: 15.98 kB / 1.014 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008595/0.3209, allocations: 123.8 kB / 1.014 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.321, allocations: 52.58 kB / 1.014 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/0.3211, allocations: 24 kB / 1.014 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001063/0.3221, allocations: 0.7878 MB / 1.015 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3221, allocations: 0 / 1.015 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003303/0.3254, allocations: 1.298 MB / 1.016 GB, free: 6.098 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 85 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002068/0.3257, allocations: 139 kB / 1.016 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004443/0.3301, allocations: 2.971 MB / 1.019 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3301, allocations: 0 / 1.019 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000912/0.3311, allocations: 0.6644 MB / 1.02 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.3325, allocations: 177.9 kB / 1.02 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008801/0.3413, allocations: 6.023 MB / 1.026 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002623/0.344, allocations: 2.282 MB / 1.028 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005952/0.3446, allocations: 103.4 kB / 1.028 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of SimCode: time 1.553e-06/0.3446, allocations: 0 / 1.028 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of Templates: time 0.4201/0.7648, allocations: 28.39 MB / 1.056 GB, free: 138.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)