Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.000914/0.0009138, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006663/0.006663, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.569/1.569, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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.0006372/0.0006372, allocations: 17.06 kB / 0.6743 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2412, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01971/0.261, allocations: 16.51 MB / 0.804 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.2716, allocations: 5.839 MB / 0.8097 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.2734, allocations: 43.88 kB / 0.8097 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.2746, allocations: 321.7 kB / 0.8101 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.2773, allocations: 0.7863 MB / 0.8108 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.2799, allocations: 0.8773 MB / 0.8117 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007051/0.287, allocations: 6.483 MB / 0.818 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.2993, allocations: 7.962 MB / 0.8258 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.3017, allocations: 1.284 MB / 0.827 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.3052, allocations: 1.931 MB / 0.8289 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006946/0.3059, allocations: 188 kB / 0.8291 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.3077, allocations: 0.7215 MB / 0.8298 GB, free: 460 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.3096, allocations: 1.396 MB / 0.8312 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002272/0.3119, allocations: 1.401 MB / 0.8325 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006343/0.3183, allocations: 6.047 MB / 0.8384 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.3183, allocations: 3.938 kB / 0.8385 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.855e-06/0.3183, allocations: 0 / 0.8385 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001354/0.3185, allocations: 0 / 0.8385 GB, free: 7.566 MB / 0.6544 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.005438/0.3239, allocations: 2.479 MB / 0.8409 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.324, allocations: 8.031 kB / 0.8409 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005407/0.3294, allocations: 1.141 MB / 0.842 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003554/0.3329, allocations: 1.6 MB / 0.8436 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.3332, allocations: 226.4 kB / 0.8438 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008614/0.334, allocations: 296.3 kB / 0.8441 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.3441, allocations: 5.304 MB / 0.8492 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.515e-05/0.3442, allocations: 3.938 kB / 0.8492 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/0.3445, allocations: 128 kB / 0.8494 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/0.3447, allocations: 209.1 kB / 0.8496 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007857/0.3526, allocations: 4.77 MB / 0.8542 GB, free: 7.195 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02817/0.3808, allocations: 23.22 MB / 0.8769 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004804/0.3857, allocations: 3.183 MB / 0.88 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.3869, allocations: 0.9095 MB / 0.8809 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.3871, allocations: 105.7 kB / 0.881 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.3872, allocations: 43.16 kB / 0.881 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 4.959e-06/0.3872, allocations: 7.984 kB / 0.881 GB, free: 9.168 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003156/0.3903, allocations: 2.094 MB / 0.8831 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.3905, allocations: 214.3 kB / 0.8833 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.3919, allocations: 1.098 MB / 0.8844 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.209e-05/0.392, allocations: 45.64 kB / 0.8844 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008167/0.3928, allocations: 1.285 MB / 0.8857 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.393, allocations: 299.9 kB / 0.8859 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.3932, allocations: 129.6 kB / 0.8861 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3934, allocations: 341.9 kB / 0.8864 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.3945, allocations: 0.8939 MB / 0.8873 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.3961, allocations: 1.515 MB / 0.8887 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.3989, allocations: 2.369 MB / 0.8911 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.399, allocations: 8 kB / 0.8911 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00342/0.4024, allocations: 2.5 MB / 0.8935 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003744/0.4028, allocations: 0.6467 MB / 0.8941 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.4028, allocations: 16 kB / 0.8942 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/0.4028, allocations: 35.94 kB / 0.8942 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.4043, allocations: 463.2 kB / 0.8946 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/0.4044, allocations: 39.86 kB / 0.8947 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.4057, allocations: 341.9 kB / 0.895 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.4059, allocations: 79.98 kB / 0.8951 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.4059, allocations: 6.656 kB / 0.8951 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00293/0.4088, allocations: 2.23 MB / 0.8973 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.4089, allocations: 20 kB / 0.8973 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.4089, allocations: 28 kB / 0.8973 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.4102, allocations: 443.2 kB / 0.8977 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.203e-05/0.4103, allocations: 39.86 kB / 0.8978 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.4114, allocations: 246.7 kB / 0.898 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.4115, allocations: 83.98 kB / 0.8981 GB, free: 6.793 MB / 0.7169 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.001851/0.4133, allocations: 1.273 MB / 0.8993 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.4136, allocations: 102.8 kB / 0.8994 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.416, allocations: 1.564 MB / 0.9009 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.416, allocations: 12 kB / 0.901 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.416, allocations: 0 / 0.901 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.4161, allocations: 7.984 kB / 0.901 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006285/0.4224, allocations: 4.509 MB / 0.9054 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4224, allocations: 0 / 0.9054 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/0.4233, allocations: 251.6 kB / 0.9056 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.4234, allocations: 8 kB / 0.9056 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.4234, allocations: 20 kB / 0.9056 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.4234, allocations: 4 kB / 0.9056 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4234, allocations: 0 / 0.9056 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.4257, allocations: 1.915 MB / 0.9075 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/0.4262, allocations: 359.6 kB / 0.9079 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.4264, allocations: 20 kB / 0.9079 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008983/0.4273, allocations: 131.8 kB / 0.908 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.4274, allocations: 52.47 kB / 0.908 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.4275, allocations: 24 kB / 0.9081 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001099/0.4286, allocations: 0.7995 MB / 0.9089 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.874e-06/0.4286, allocations: 0 / 0.9089 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003565/0.4322, allocations: 1.309 MB / 0.9101 GB, free: 10.25 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.0002112/0.4324, allocations: 131.1 kB / 0.9103 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004276/0.4367, allocations: 2.987 MB / 0.9132 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4367, allocations: 4.812 kB / 0.9132 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008757/0.4376, allocations: 0.6596 MB / 0.9138 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.4391, allocations: 189 kB / 0.914 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007784/0.4469, allocations: 5.79 MB / 0.9197 GB, free: 456 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4756/0.9225, allocations: 2.207 MB / 0.9218 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003125/0.9257, allocations: 1.098 MB / 0.9229 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.9261, allocations: 85.09 kB / 0.923 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.293e-06/0.9261, allocations: 0 / 0.923 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.03413/0.9602, allocations: 15.04 MB / 0.9377 GB, free: 122.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) Environment - environmentSimulation: