Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.282/2.282, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.002221/0.002222, allocations: 182.4 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 205.4 MB / 0.5772 GB, free: 21.14 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.001015/0.001014, allocations: 98.44 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004825, allocations: 14.89 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00341/0.2223, allocations: 2.263 MB / 0.9017 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002735/0.2251, allocations: 1.416 MB / 0.9031 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2253, allocations: 7.938 kB / 0.9031 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.2255, allocations: 31.78 kB / 0.9031 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005555/0.226, allocations: 135.5 kB / 0.9033 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.2265, allocations: 111.7 kB / 0.9034 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.2269, allocations: 275.2 kB / 0.9036 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007414/0.2277, allocations: 318.5 kB / 0.9039 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.2279, allocations: 75.7 kB / 0.904 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.2282, allocations: 107.6 kB / 0.9041 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.2282, allocations: 8 kB / 0.9041 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.2286, allocations: 127.8 kB / 0.9042 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.896e-05/0.2287, allocations: 59.86 kB / 0.9043 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.2287, allocations: 57.58 kB / 0.9044 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.2291, allocations: 243.4 kB / 0.9046 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2291, allocations: 7.938 kB / 0.9046 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2291, allocations: 0 / 0.9046 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2291, allocations: 0 / 0.9046 GB, free: 60.76 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007096/0.2299, allocations: 459.1 kB / 0.905 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.2299, allocations: 8.031 kB / 0.905 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008361/0.2308, allocations: 80.64 kB / 0.9051 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.2311, allocations: 225.4 kB / 0.9053 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2311, allocations: 20.69 kB / 0.9053 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.2312, allocations: 16.38 kB / 0.9054 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.2318, allocations: 323.9 kB / 0.9057 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.2319, allocations: 8 kB / 0.9057 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.2319, allocations: 7.984 kB / 0.9057 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.232, allocations: 24.2 kB / 0.9057 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/0.2325, allocations: 248.6 kB / 0.9059 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.2344, allocations: 1.634 MB / 0.9075 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/0.2354, allocations: 407.2 kB / 0.9079 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.2356, allocations: 89.66 kB / 0.908 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.2358, allocations: 85.11 kB / 0.9081 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.2359, allocations: 34.55 kB / 0.9081 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 3.116e-06/0.2359, allocations: 4 kB / 0.9081 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0008835/0.2368, allocations: 308.6 kB / 0.9084 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.2368, allocations: 81.11 kB / 0.9085 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.237, allocations: 172 kB / 0.9087 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.237, allocations: 33.89 kB / 0.9087 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.2371, allocations: 147.8 kB / 0.9088 GB, free: 56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.2372, allocations: 47.3 kB / 0.9089 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.2372, allocations: 4 kB / 0.9089 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.374e-05/0.2373, allocations: 326.8 kB / 0.9092 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.2375, allocations: 79.94 kB / 0.9093 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.2377, allocations: 146.5 kB / 0.9094 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.2379, allocations: 103.9 kB / 0.9095 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2379, allocations: 0 / 0.9095 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000559/0.2385, allocations: 275.2 kB / 0.9098 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.437e-05/0.2386, allocations: 173.8 kB / 0.9099 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.2386, allocations: 0 / 0.9099 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.2386, allocations: 4 kB / 0.91 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.2391, allocations: 51.91 kB / 0.91 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2391, allocations: 7.984 kB / 0.91 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.2394, allocations: 16.17 kB / 0.91 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.2394, allocations: 12 kB / 0.91 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.038e-06/0.2394, allocations: 7.938 kB / 0.91 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004399/0.2399, allocations: 203.7 kB / 0.9102 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2399, allocations: 4 kB / 0.9102 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.084e-06/0.2399, allocations: 4 kB / 0.9102 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.2402, allocations: 47.91 kB / 0.9103 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2403, allocations: 7.984 kB / 0.9103 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.2404, allocations: 19.84 kB / 0.9103 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.2405, allocations: 12 kB / 0.9103 GB, free: 54.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * 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.0001739/0.2407, allocations: 229.9 kB / 0.9105 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.2407, allocations: 11.91 kB / 0.9106 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.2412, allocations: 207.7 kB / 0.9108 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2413, allocations: 3.938 kB / 0.9108 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2413, allocations: 3.938 kB / 0.9108 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2414, allocations: 105 kB / 0.9109 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.2414, allocations: 4 kB / 0.9109 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.2417, allocations: 23.97 kB / 0.9109 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.2418, allocations: 7.984 kB / 0.9109 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004689/0.2422, allocations: 340 kB / 0.9112 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003923/0.2426, allocations: 424 kB / 0.9116 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001444/0.2428, allocations: 75.88 kB / 0.9117 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001441/0.243, allocations: 139.7 kB / 0.9118 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of Backend: time 1.643e-06/0.243, allocations: 0 / 0.9118 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.2441, allocations: 359 kB / 0.9122 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009668/0.2451, allocations: 0.872 MB / 0.913 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.00927/0.2544, allocations: 3.414 MB / 0.9164 GB, free: 48.11 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)