Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005158/0.005158, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001156/0.001156, allocations: 186.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 287.1 kB / 290.8 MB, free: 1.801 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9466/0.9466, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 95.84 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1606, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.3473/0.5079, allocations: 17.17 MB / 0.7831 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008153/0.5161, allocations: 5.844 MB / 0.7889 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.5173, allocations: 52.22 kB / 0.7889 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00286/0.5201, allocations: 1.296 MB / 0.7902 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.5218, allocations: 0.8465 MB / 0.791 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.5247, allocations: 1.337 MB / 0.7923 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003788/0.5285, allocations: 4.3 MB / 0.7965 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007829/0.5363, allocations: 6.79 MB / 0.8031 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.5394, allocations: 1.928 MB / 0.805 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.5425, allocations: 2.286 MB / 0.8073 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006396/0.5432, allocations: 446.3 kB / 0.8077 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.5449, allocations: 0.8553 MB / 0.8085 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001838/0.5467, allocations: 1.719 MB / 0.8102 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.5491, allocations: 1.756 MB / 0.8119 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007106/0.5562, allocations: 6.377 MB / 0.8181 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5562, allocations: 3.938 kB / 0.8181 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5562, allocations: 0 / 0.8181 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001288/0.5563, allocations: 0 / 0.8181 GB, free: 6.586 MB / 0.5762 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.006694/0.563, allocations: 3.084 MB / 0.8211 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5631, allocations: 13.91 kB / 0.8212 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005275/0.5684, allocations: 1.114 MB / 0.8222 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.5715, allocations: 1.628 MB / 0.8238 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.5717, allocations: 224.1 kB / 0.8241 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005427/0.5723, allocations: 290.5 kB / 0.8243 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009112/0.5814, allocations: 5.318 MB / 0.8295 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-05/0.5815, allocations: 5.594 kB / 0.8295 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003494/0.5818, allocations: 125.9 kB / 0.8296 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002177/0.582, allocations: 206 kB / 0.8298 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007141/0.5892, allocations: 4.764 MB / 0.8345 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02495/0.6141, allocations: 22.99 MB / 0.8569 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.6187, allocations: 3.183 MB / 0.8601 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.62, allocations: 0.9173 MB / 0.861 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.6202, allocations: 105.8 kB / 0.8611 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.6202, allocations: 51.09 kB / 0.8611 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.535e-06/0.6202, allocations: 0 / 0.8611 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.003191/0.6234, allocations: 2.078 MB / 0.8631 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.6235, allocations: 218.2 kB / 0.8633 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.6251, allocations: 1.094 MB / 0.8644 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.789e-05/0.6252, allocations: 41.7 kB / 0.8644 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008046/0.626, allocations: 1.281 MB / 0.8657 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.6263, allocations: 307.8 kB / 0.866 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006289/0.6269, allocations: 351.3 kB / 0.8663 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6271, allocations: 341.9 kB / 0.8667 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.6283, allocations: 0.8947 MB / 0.8675 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.63, allocations: 1.515 MB / 0.869 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.6328, allocations: 2.35 MB / 0.8713 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.6328, allocations: 12 kB / 0.8713 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003679/0.6365, allocations: 2.484 MB / 0.8737 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.6365, allocations: 12 kB / 0.8738 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.6366, allocations: 20 kB / 0.8738 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.611e-05/0.6366, allocations: 28.72 kB / 0.8738 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.6382, allocations: 467.2 kB / 0.8742 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.913e-05/0.6383, allocations: 35.86 kB / 0.8743 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.6399, allocations: 349.7 kB / 0.8746 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.64, allocations: 79.97 kB / 0.8747 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00282/0.6428, allocations: 1.901 MB / 0.8765 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001543/0.6444, allocations: 1.446 MB / 0.878 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002516/0.6469, allocations: 2.198 MB / 0.8801 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.445e-05/0.647, allocations: 11.94 kB / 0.8801 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003366/0.6503, allocations: 2.328 MB / 0.8824 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.6504, allocations: 18.03 kB / 0.8824 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.6504, allocations: 16 kB / 0.8824 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.6504, allocations: 32 kB / 0.8824 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.6518, allocations: 435.2 kB / 0.8829 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.524e-05/0.6519, allocations: 39.86 kB / 0.8829 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.6534, allocations: 287.1 kB / 0.8832 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.6535, allocations: 79.98 kB / 0.8833 GB, free: 8 MB / 0.6387 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.0003348/0.6539, allocations: 292.2 kB / 0.8835 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.6542, allocations: 102.8 kB / 0.8836 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.6565, allocations: 1.552 MB / 0.8851 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.6566, allocations: 12 kB / 0.8852 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6566, allocations: 0 / 0.8852 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.6566, allocations: 11.92 kB / 0.8852 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006964/0.6636, allocations: 4.473 MB / 0.8895 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.6636, allocations: 4 kB / 0.8895 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009476/0.6645, allocations: 243.6 kB / 0.8898 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.6645, allocations: 8 kB / 0.8898 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/0.6646, allocations: 23.97 kB / 0.8898 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.339e-05/0.6646, allocations: 4 kB / 0.8898 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.6646, allocations: 4 kB / 0.8898 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.6667, allocations: 1.912 MB / 0.8917 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/0.6671, allocations: 319.7 kB / 0.892 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.6673, allocations: 19.91 kB / 0.892 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009239/0.6683, allocations: 119.8 kB / 0.8921 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.6684, allocations: 64.45 kB / 0.8922 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.6685, allocations: 20 kB / 0.8922 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000997/0.6695, allocations: 0.7956 MB / 0.893 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6695, allocations: 0 / 0.893 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003318/0.6728, allocations: 1.302 MB / 0.8942 GB, free: 12.55 MB / 0.6544 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.0001892/0.673, allocations: 131.1 kB / 0.8944 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004352/0.6774, allocations: 2.979 MB / 0.8973 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6774, allocations: 4 kB / 0.8973 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008428/0.6782, allocations: 0.6608 MB / 0.8979 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.6797, allocations: 203 kB / 0.8981 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007754/0.6874, allocations: 4.509 MB / 0.9025 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00252/0.69, allocations: 2.21 MB / 0.9047 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002279/0.6923, allocations: 1.097 MB / 0.9058 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.6927, allocations: 91.41 kB / 0.9058 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of SimCode: time 2.645e-06/0.6927, allocations: 0 / 0.9058 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of Templates: time 0.02711/0.7198, allocations: 16.33 MB / 0.9218 GB, free: 404 kB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)