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.00113/0.00113, allocations: 113.3 kB / 16.38 MB, free: 5.543 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.00104/0.00104, allocations: 188.4 kB / 17.31 MB, free: 5.188 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.493/1.493, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.903/1.903, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001455/0.001455, allocations: 67.91 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.207, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.439/0.6461, allocations: 17.18 MB / 0.8016 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00877/0.6549, allocations: 5.89 MB / 0.8073 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.6564, allocations: 55.53 kB / 0.8074 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0034/0.6599, allocations: 1.298 MB / 0.8087 GB, free: 36.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.6623, allocations: 0.8306 MB / 0.8095 GB, free: 36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.6658, allocations: 1.335 MB / 0.8108 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00544/0.6712, allocations: 4.281 MB / 0.815 GB, free: 33.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007958/0.6792, allocations: 6.922 MB / 0.8217 GB, free: 30.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/0.6829, allocations: 1.913 MB / 0.8236 GB, free: 30.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004446/0.6873, allocations: 2.292 MB / 0.8258 GB, free: 29.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.6885, allocations: 445.6 kB / 0.8262 GB, free: 29.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.6908, allocations: 0.8478 MB / 0.8271 GB, free: 28.97 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002294/0.6931, allocations: 1.714 MB / 0.8287 GB, free: 28.28 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005462/0.6986, allocations: 1.757 MB / 0.8305 GB, free: 27.13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.7095, allocations: 6.377 MB / 0.8367 GB, free: 25.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.7095, allocations: 1.219 kB / 0.8367 GB, free: 25.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7095, allocations: 0 / 0.8367 GB, free: 25.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002444/0.7098, allocations: 0 / 0.8367 GB, free: 25.18 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.01015/0.72, allocations: 3.083 MB / 0.8397 GB, free: 23.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.72, allocations: 8.438 kB / 0.8397 GB, free: 23.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005799/0.7258, allocations: 1.114 MB / 0.8408 GB, free: 23.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006223/0.7321, allocations: 1.629 MB / 0.8424 GB, free: 22.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/0.7324, allocations: 228.8 kB / 0.8426 GB, free: 22.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/0.734, allocations: 294.2 kB / 0.8429 GB, free: 22.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009581/0.7436, allocations: 5.301 MB / 0.8481 GB, free: 19.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.126e-05/0.7436, allocations: 5.25 kB / 0.8481 GB, free: 19.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/0.744, allocations: 126.9 kB / 0.8482 GB, free: 19.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002491/0.7443, allocations: 202.7 kB / 0.8484 GB, free: 18.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007985/0.7523, allocations: 4.764 MB / 0.853 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02757/0.7799, allocations: 22.99 MB / 0.8755 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004814/0.7847, allocations: 3.197 MB / 0.8786 GB, free: 7.965 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.7861, allocations: 0.9141 MB / 0.8795 GB, free: 7.031 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.7863, allocations: 105.7 kB / 0.8796 GB, free: 6.906 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.7864, allocations: 47.16 kB / 0.8796 GB, free: 6.852 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.457e-06/0.7864, allocations: 0 / 0.8796 GB, free: 6.852 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.003425/0.7898, allocations: 2.082 MB / 0.8817 GB, free: 4.762 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.7899, allocations: 215 kB / 0.8819 GB, free: 4.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.7915, allocations: 1.098 MB / 0.883 GB, free: 3.395 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-05/0.7916, allocations: 41.7 kB / 0.883 GB, free: 3.348 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000909/0.7925, allocations: 1.281 MB / 0.8842 GB, free: 2.047 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.7928, allocations: 299.9 kB / 0.8845 GB, free: 1.75 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005738/0.7934, allocations: 351.1 kB / 0.8849 GB, free: 1.398 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7935, allocations: 345.9 kB / 0.8852 GB, free: 1.055 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.7949, allocations: 0.8947 MB / 0.8861 GB, free: 160 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.7966, allocations: 1.516 MB / 0.8876 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.7995, allocations: 2.354 MB / 0.8899 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.7995, allocations: 4 kB / 0.8899 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003839/0.8033, allocations: 2.496 MB / 0.8923 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.8034, allocations: 12 kB / 0.8923 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.8034, allocations: 20 kB / 0.8923 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.134e-05/0.8035, allocations: 28 kB / 0.8923 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.8052, allocations: 459.8 kB / 0.8928 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.023e-05/0.8052, allocations: 39.86 kB / 0.8928 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.8069, allocations: 345.8 kB / 0.8932 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.807, allocations: 79.92 kB / 0.8932 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003446/0.8105, allocations: 1.909 MB / 0.8951 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001776/0.8123, allocations: 1.436 MB / 0.8965 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002786/0.8151, allocations: 2.206 MB / 0.8987 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.146e-05/0.8151, allocations: 7.938 kB / 0.8987 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.00361/0.8187, allocations: 2.332 MB / 0.9009 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.8188, allocations: 12 kB / 0.9009 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.8188, allocations: 20 kB / 0.901 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.8188, allocations: 28 kB / 0.901 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.8203, allocations: 435.3 kB / 0.9014 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.542e-05/0.8204, allocations: 47.8 kB / 0.9015 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.8221, allocations: 278.8 kB / 0.9017 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.8223, allocations: 79.98 kB / 0.9018 GB, free: 14.93 MB / 0.7012 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.0004573/0.8227, allocations: 279.6 kB / 0.9021 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.8231, allocations: 106.8 kB / 0.9022 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.8256, allocations: 1.564 MB / 0.9037 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.8256, allocations: 3.984 kB / 0.9037 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.8256, allocations: 4 kB / 0.9037 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.8262, allocations: 315.7 kB / 0.904 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.8263, allocations: 23.84 kB / 0.904 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.8273, allocations: 159.7 kB / 0.9042 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.8275, allocations: 56.58 kB / 0.9042 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002371/0.8299, allocations: 1.927 MB / 0.9061 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002138/0.832, allocations: 1.977 MB / 0.908 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008407/0.8329, allocations: 0.6218 MB / 0.9086 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001118/0.834, allocations: 0.7995 MB / 0.9094 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of Backend: time 2.2e-07/0.834, allocations: 0 / 0.9094 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007889/0.8419, allocations: 2.724 MB / 0.9121 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01284/0.8548, allocations: 4.508 MB / 0.9165 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of Templates: time 0.06927/0.9241, allocations: 27.67 MB / 0.9435 GB, free: 4.266 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (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)