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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009526/0.009527, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.72/1.72, allocations: 251.7 MB / 0.5094 GB, free: 3.105 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00288/0.00288, allocations: 63.91 kB / 0.7258 GB, free: 9.066 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3126, allocations: 104.7 MB / 0.828 GB, free: 252 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02364/0.3363, allocations: 17.19 MB / 0.8448 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.3486, allocations: 5.897 MB / 0.8506 GB, free: 9.078 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.3506, allocations: 51.88 kB / 0.8506 GB, free: 9.027 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004234/0.3549, allocations: 1.298 MB / 0.8519 GB, free: 7.727 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.3582, allocations: 0.8363 MB / 0.8527 GB, free: 6.887 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004478/0.3627, allocations: 1.344 MB / 0.854 GB, free: 5.543 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006348/0.369, allocations: 4.287 MB / 0.8582 GB, free: 1.246 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.3813, allocations: 6.794 MB / 0.8649 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004693/0.386, allocations: 1.925 MB / 0.8667 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00581/0.3919, allocations: 2.287 MB / 0.869 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002203/0.3941, allocations: 448 kB / 0.8694 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004845/0.399, allocations: 0.8506 MB / 0.8702 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005955/0.405, allocations: 1.72 MB / 0.8719 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008857/0.414, allocations: 1.763 MB / 0.8736 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.015/0.429, allocations: 6.369 MB / 0.8799 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.4291, allocations: 0 / 0.8799 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4291, allocations: 4 kB / 0.8799 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000281/0.4294, allocations: 3.984 kB / 0.8799 GB, free: 10.94 MB / 0.7012 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.01821/0.4476, allocations: 3.076 MB / 0.8829 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 7.65e-05/0.4478, allocations: 8.031 kB / 0.8829 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.4593, allocations: 1.125 MB / 0.884 GB, free: 6.668 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006911/0.4663, allocations: 1.624 MB / 0.8856 GB, free: 5 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004105/0.4668, allocations: 226.3 kB / 0.8858 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002093/0.4689, allocations: 296.3 kB / 0.8861 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/0.4928, allocations: 5.307 MB / 0.8912 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/0.4931, allocations: 7.938 kB / 0.8912 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001417/0.4945, allocations: 123.9 kB / 0.8914 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004476/0.495, allocations: 209.1 kB / 0.8916 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.5109, allocations: 4.766 MB / 0.8962 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03729/0.5483, allocations: 22.99 MB / 0.9187 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6555/1.204, allocations: 3.173 MB / 0.9218 GB, free: 83.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/1.206, allocations: 0.9119 MB / 0.9227 GB, free: 83.67 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/1.206, allocations: 107.8 kB / 0.9228 GB, free: 83.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/1.206, allocations: 52.39 kB / 0.9228 GB, free: 83.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/1.206, allocations: 0 / 0.9228 GB, free: 83.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.003838/1.21, allocations: 2.076 MB / 0.9248 GB, free: 83.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/1.21, allocations: 220.6 kB / 0.925 GB, free: 82.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/1.212, allocations: 1.093 MB / 0.9261 GB, free: 82.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.212, allocations: 44.89 kB / 0.9262 GB, free: 82.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008739/1.213, allocations: 1.283 MB / 0.9274 GB, free: 81.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/1.213, allocations: 302.5 kB / 0.9277 GB, free: 81.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006846/1.214, allocations: 351.5 kB / 0.928 GB, free: 81.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.214, allocations: 340.2 kB / 0.9284 GB, free: 80.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/1.216, allocations: 0.8971 MB / 0.9292 GB, free: 80.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/1.218, allocations: 1.51 MB / 0.9307 GB, free: 79.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003444/1.221, allocations: 2.363 MB / 0.933 GB, free: 78.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/1.221, allocations: 5.5 kB / 0.933 GB, free: 78.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004396/1.225, allocations: 2.489 MB / 0.9355 GB, free: 77.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/1.226, allocations: 18.48 kB / 0.9355 GB, free: 77.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.681e-05/1.226, allocations: 18.53 kB / 0.9355 GB, free: 77.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.515e-05/1.226, allocations: 28.16 kB / 0.9355 GB, free: 77.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/1.227, allocations: 456.8 kB / 0.936 GB, free: 77.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-05/1.227, allocations: 40.22 kB / 0.936 GB, free: 77.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/1.229, allocations: 343 kB / 0.9363 GB, free: 77.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/1.229, allocations: 87.14 kB / 0.9364 GB, free: 77.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003507/1.233, allocations: 1.903 MB / 0.9383 GB, free: 76.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001841/1.235, allocations: 1.435 MB / 0.9397 GB, free: 75.24 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003769/1.238, allocations: 2.2 MB / 0.9418 GB, free: 73.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.382e-05/1.239, allocations: 12.69 kB / 0.9418 GB, free: 73.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004859/1.243, allocations: 2.323 MB / 0.9441 GB, free: 72.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/1.243, allocations: 12.72 kB / 0.9441 GB, free: 72.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-05/1.243, allocations: 21.03 kB / 0.9441 GB, free: 72.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.685e-05/1.244, allocations: 28.12 kB / 0.9441 GB, free: 72.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.245, allocations: 443.8 kB / 0.9446 GB, free: 72.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.123e-05/1.245, allocations: 40.31 kB / 0.9446 GB, free: 72.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.247, allocations: 286.5 kB / 0.9449 GB, free: 72.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/1.247, allocations: 83.06 kB / 0.945 GB, free: 72.82 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000545/1.248, allocations: 287.2 kB / 0.9452 GB, free: 72.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/1.248, allocations: 100.1 kB / 0.9453 GB, free: 72.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/1.251, allocations: 1.557 MB / 0.9469 GB, free: 71.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/1.251, allocations: 9.969 kB / 0.9469 GB, free: 71.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.251, allocations: 6.219 kB / 0.9469 GB, free: 71.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/1.251, allocations: 6.875 kB / 0.9469 GB, free: 71.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007429/1.258, allocations: 4.476 MB / 0.9512 GB, free: 70.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.258, allocations: 1.469 kB / 0.9512 GB, free: 70.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009941/1.259, allocations: 249.3 kB / 0.9515 GB, free: 70.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/1.259, allocations: 8.109 kB / 0.9515 GB, free: 70.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/1.259, allocations: 13.47 kB / 0.9515 GB, free: 70 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/1.259, allocations: 13.19 kB / 0.9515 GB, free: 70 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.259, allocations: 2.781 kB / 0.9515 GB, free: 70 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/1.262, allocations: 1.908 MB / 0.9534 GB, free: 68.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/1.262, allocations: 327.7 kB / 0.9537 GB, free: 68.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/1.262, allocations: 22.03 kB / 0.9537 GB, free: 68.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008741/1.263, allocations: 122.8 kB / 0.9538 GB, free: 68.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/1.263, allocations: 51.77 kB / 0.9539 GB, free: 68.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/1.263, allocations: 24.56 kB / 0.9539 GB, free: 68.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001248/1.265, allocations: 0.8014 MB / 0.9547 GB, free: 68.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.265, allocations: 2.625 kB / 0.9547 GB, free: 68.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004426/1.269, allocations: 1.302 MB / 0.956 GB, free: 67.96 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002969/1.269, allocations: 121.1 kB / 0.9561 GB, free: 67.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005824/1.275, allocations: 2.988 MB / 0.959 GB, free: 66.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.275, allocations: 0.875 kB / 0.959 GB, free: 66.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008046/1.276, allocations: 0.662 MB / 0.9596 GB, free: 66.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/1.278, allocations: 190.1 kB / 0.9598 GB, free: 66.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008982/1.287, allocations: 4.501 MB / 0.9642 GB, free: 64.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/1.289, allocations: 2.207 MB / 0.9664 GB, free: 63.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002304/1.291, allocations: 1.102 MB / 0.9675 GB, free: 62.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/1.291, allocations: 95.41 kB / 0.9675 GB, free: 62.48 MB / 0.7325 GB Notification: Performance of SimCode: time 2.765e-06/1.291, allocations: 0 / 0.9675 GB, free: 62.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.02552/1.317, allocations: 16.33 MB / 0.9835 GB, free: 46.3 MB / 0.7325 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)