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.001125/0.001126, allocations: 106.3 kB / 15.99 MB, free: 6.359 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.001103/0.001104, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.42/1.42, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.724/1.724, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001369/0.00137, allocations: 68.53 kB / 0.6717 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2045, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01987/0.2244, allocations: 17.08 MB / 0.8002 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009102/0.2335, allocations: 5.835 MB / 0.8059 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.2349, allocations: 43.88 kB / 0.8059 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00321/0.2382, allocations: 1.21 MB / 0.8071 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.2404, allocations: 0.7629 MB / 0.8079 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.2436, allocations: 1.243 MB / 0.8091 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004854/0.2485, allocations: 4.295 MB / 0.8133 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.26, allocations: 8.133 MB / 0.8212 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/0.263, allocations: 1.929 MB / 0.8231 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003728/0.2668, allocations: 2.404 MB / 0.8255 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.2678, allocations: 444 kB / 0.8259 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.2696, allocations: 0.8545 MB / 0.8267 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001895/0.2715, allocations: 1.716 MB / 0.8284 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002473/0.274, allocations: 1.767 MB / 0.8301 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005614/0.2797, allocations: 5.5 MB / 0.8355 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2797, allocations: 0 / 0.8355 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.007e-06/0.2797, allocations: 0 / 0.8355 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001715/0.2799, allocations: 3.938 kB / 0.8355 GB, free: 8.461 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.007562/0.2875, allocations: 3.08 MB / 0.8385 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2875, allocations: 8.031 kB / 0.8385 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005277/0.2928, allocations: 1.117 MB / 0.8396 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.2963, allocations: 1.608 MB / 0.8412 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.2965, allocations: 230.3 kB / 0.8414 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.2976, allocations: 288.4 kB / 0.8417 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.3084, allocations: 5.3 MB / 0.8468 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.379e-05/0.3085, allocations: 0 / 0.8468 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004263/0.309, allocations: 128 kB / 0.847 GB, free: 12.51 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002519/0.3092, allocations: 205.1 kB / 0.8471 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00886/0.3181, allocations: 4.758 MB / 0.8518 GB, free: 7.535 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03331/0.3515, allocations: 23.18 MB / 0.8744 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004914/0.3565, allocations: 3.187 MB / 0.8775 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.3579, allocations: 0.9172 MB / 0.8784 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.3582, allocations: 101.7 kB / 0.8785 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.3582, allocations: 55.16 kB / 0.8786 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.045e-06/0.3582, allocations: 0 / 0.8786 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003531/0.3618, allocations: 2.074 MB / 0.8806 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.3619, allocations: 218.3 kB / 0.8808 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.3637, allocations: 1.094 MB / 0.8819 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.3639, allocations: 41.7 kB / 0.8819 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009649/0.3648, allocations: 1.281 MB / 0.8832 GB, free: 4.742 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.3652, allocations: 299.9 kB / 0.8835 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006032/0.3658, allocations: 351.1 kB / 0.8838 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3659, allocations: 345.9 kB / 0.8841 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.3673, allocations: 0.8947 MB / 0.885 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.3692, allocations: 1.507 MB / 0.8865 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.3723, allocations: 2.362 MB / 0.8888 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-05/0.3724, allocations: 8 kB / 0.8888 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004119/0.3765, allocations: 2.484 MB / 0.8912 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.3766, allocations: 15.98 kB / 0.8912 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.994e-05/0.3767, allocations: 24.06 kB / 0.8913 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.344e-05/0.3767, allocations: 31.94 kB / 0.8913 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.3784, allocations: 463.2 kB / 0.8917 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.333e-05/0.3785, allocations: 40.36 kB / 0.8918 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.3804, allocations: 353.7 kB / 0.8921 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.3806, allocations: 75.98 kB / 0.8922 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00349/0.3841, allocations: 1.902 MB / 0.894 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001688/0.3858, allocations: 1.442 MB / 0.8954 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002793/0.3886, allocations: 2.198 MB / 0.8976 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-05/0.3887, allocations: 8 kB / 0.8976 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003722/0.3924, allocations: 2.328 MB / 0.8999 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.3924, allocations: 15.94 kB / 0.8999 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/0.3925, allocations: 27.92 kB / 0.8999 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/0.3925, allocations: 28 kB / 0.8999 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.394, allocations: 439.3 kB / 0.9004 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.334e-05/0.394, allocations: 39.86 kB / 0.9004 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.3956, allocations: 290.7 kB / 0.9007 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.3958, allocations: 79.92 kB / 0.9008 GB, free: 1.605 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.000481/0.3963, allocations: 283.6 kB / 0.901 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.3966, allocations: 94.88 kB / 0.9011 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.3991, allocations: 1.56 MB / 0.9026 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.3991, allocations: 15.98 kB / 0.9027 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3991, allocations: 0 / 0.9027 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.3991, allocations: 11.92 kB / 0.9027 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007188/0.4063, allocations: 4.478 MB / 0.907 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.4064, allocations: 4 kB / 0.907 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.4074, allocations: 255.5 kB / 0.9073 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/0.4074, allocations: 4 kB / 0.9073 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.739e-05/0.4075, allocations: 16 kB / 0.9073 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.4075, allocations: 4 kB / 0.9073 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4075, allocations: 0 / 0.9073 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.4098, allocations: 1.911 MB / 0.9092 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005478/0.4104, allocations: 327.6 kB / 0.9095 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.4106, allocations: 19.94 kB / 0.9095 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009528/0.4116, allocations: 127.8 kB / 0.9096 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.4117, allocations: 52.47 kB / 0.9097 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.4118, allocations: 24 kB / 0.9097 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001203/0.413, allocations: 0.7995 MB / 0.9105 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.413, allocations: 0 / 0.9105 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003774/0.4168, allocations: 1.298 MB / 0.9117 GB, free: 6.152 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.0002532/0.4171, allocations: 127.1 kB / 0.9119 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005526/0.4226, allocations: 3.475 MB / 0.9153 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.4226, allocations: 4 kB / 0.9153 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009423/0.4236, allocations: 0.6555 MB / 0.9159 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.4254, allocations: 207.2 kB / 0.9161 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3815/0.8069, allocations: 6.248 MB / 0.9222 GB, free: 127 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/0.8093, allocations: 2.283 MB / 0.9244 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005235/0.8098, allocations: 107.8 kB / 0.9245 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/0.8098, allocations: 1.75 kB / 0.9245 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.04457/0.8544, allocations: 28.59 MB / 0.9525 GB, free: 117.1 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)