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.00143/0.00143, allocations: 104.9 kB / 16.41 MB, free: 6.457 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.001483/0.001483, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002311/0.002311, allocations: 299.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9969/0.9969, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4335, allocations: 86.98 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02175/0.4553, allocations: 17.18 MB / 0.7838 GB, free: 2.668 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.467, allocations: 5.845 MB / 0.7895 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.4689, allocations: 51.88 kB / 0.7896 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003836/0.4728, allocations: 1.297 MB / 0.7908 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.4755, allocations: 0.8324 MB / 0.7917 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.4791, allocations: 1.338 MB / 0.793 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005357/0.4845, allocations: 4.299 MB / 0.7972 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009433/0.4939, allocations: 6.782 MB / 0.8038 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.4969, allocations: 1.933 MB / 0.8057 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003671/0.5006, allocations: 2.287 MB / 0.8079 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.5019, allocations: 444 kB / 0.8083 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.5042, allocations: 0.8584 MB / 0.8092 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002535/0.5068, allocations: 1.712 MB / 0.8108 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003357/0.5101, allocations: 1.763 MB / 0.8126 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007595/0.5177, allocations: 6.372 MB / 0.8188 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5178, allocations: 0 / 0.8188 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5178, allocations: 0 / 0.8188 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001328/0.5179, allocations: 0 / 0.8188 GB, free: 14.68 MB / 0.5919 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.006445/0.5244, allocations: 3.08 MB / 0.8218 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5244, allocations: 8.031 kB / 0.8218 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005159/0.5296, allocations: 1.121 MB / 0.8229 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.5327, allocations: 1.635 MB / 0.8245 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.5329, allocations: 226.3 kB / 0.8247 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006041/0.5335, allocations: 288.4 kB / 0.825 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008512/0.542, allocations: 5.307 MB / 0.8302 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/0.5421, allocations: 4 kB / 0.8302 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003454/0.5424, allocations: 124 kB / 0.8303 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002364/0.5427, allocations: 205.1 kB / 0.8305 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007782/0.5505, allocations: 4.76 MB / 0.8351 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02881/0.5793, allocations: 23 MB / 0.8576 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004898/0.5842, allocations: 3.179 MB / 0.8607 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.5857, allocations: 0.9172 MB / 0.8616 GB, free: 96 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.5859, allocations: 105.7 kB / 0.8617 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.586, allocations: 51.09 kB / 0.8617 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 3.196e-06/0.586, allocations: 0 / 0.8617 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.003516/0.5895, allocations: 2.078 MB / 0.8638 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.5897, allocations: 218.3 kB / 0.864 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.5914, allocations: 1.098 MB / 0.8651 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.5916, allocations: 37.7 kB / 0.8651 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009461/0.5925, allocations: 1.285 MB / 0.8663 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.5929, allocations: 299.9 kB / 0.8666 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006394/0.5935, allocations: 351.2 kB / 0.867 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5937, allocations: 345.9 kB / 0.8673 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.5951, allocations: 0.8908 MB / 0.8682 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.597, allocations: 1.519 MB / 0.8696 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/0.6001, allocations: 2.35 MB / 0.8719 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/0.6001, allocations: 4 kB / 0.8719 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004362/0.6045, allocations: 2.495 MB / 0.8744 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.6045, allocations: 12 kB / 0.8744 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.563e-05/0.6046, allocations: 20 kB / 0.8744 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.583e-05/0.6046, allocations: 28 kB / 0.8744 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.6063, allocations: 459.8 kB / 0.8749 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.404e-05/0.6063, allocations: 47.84 kB / 0.8749 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.608, allocations: 349.6 kB / 0.8753 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.6082, allocations: 79.98 kB / 0.8753 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002883/0.6111, allocations: 1.907 MB / 0.8772 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001771/0.6129, allocations: 1.442 MB / 0.8786 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002798/0.6157, allocations: 2.198 MB / 0.8808 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.967e-05/0.6157, allocations: 4 kB / 0.8808 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003987/0.6197, allocations: 2.328 MB / 0.883 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.6197, allocations: 19.92 kB / 0.883 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/0.6198, allocations: 27.98 kB / 0.8831 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.6198, allocations: 28 kB / 0.8831 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.6213, allocations: 435.3 kB / 0.8835 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.246e-05/0.6214, allocations: 39.86 kB / 0.8836 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.6231, allocations: 290.7 kB / 0.8838 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.6233, allocations: 75.98 kB / 0.8839 GB, free: 7.992 MB / 0.6544 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.0004734/0.6238, allocations: 279.6 kB / 0.8842 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003847/0.6242, allocations: 106.9 kB / 0.8843 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.6267, allocations: 1.556 MB / 0.8858 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.6268, allocations: 12 kB / 0.8858 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6268, allocations: 0 / 0.8858 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.6268, allocations: 15.92 kB / 0.8858 GB, free: 6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007932/0.6347, allocations: 4.473 MB / 0.8902 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.6348, allocations: 0 / 0.8902 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.6359, allocations: 251.5 kB / 0.8904 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.548e-05/0.6359, allocations: 4 kB / 0.8904 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.636, allocations: 20 kB / 0.8904 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.636, allocations: 7.984 kB / 0.8905 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.636, allocations: 0 / 0.8905 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.6384, allocations: 1.908 MB / 0.8923 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.6391, allocations: 327.6 kB / 0.8926 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.6394, allocations: 19.94 kB / 0.8927 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.6404, allocations: 123.8 kB / 0.8928 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.6406, allocations: 52.53 kB / 0.8928 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.6406, allocations: 23.98 kB / 0.8928 GB, free: 14.65 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001279/0.6419, allocations: 0.7957 MB / 0.8936 GB, free: 13.86 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6419, allocations: 3.938 kB / 0.8936 GB, free: 13.85 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003914/0.6458, allocations: 1.305 MB / 0.8949 GB, free: 12.54 MB / 0.67 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.0002732/0.6461, allocations: 131 kB / 0.895 GB, free: 12.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004844/0.651, allocations: 2.979 MB / 0.8979 GB, free: 9.434 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.651, allocations: 0 / 0.8979 GB, free: 9.434 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.652, allocations: 0.6633 MB / 0.8986 GB, free: 8.766 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.6538, allocations: 204.8 kB / 0.8988 GB, free: 8.586 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009152/0.663, allocations: 4.992 MB / 0.9037 GB, free: 3.535 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/0.6658, allocations: 2.277 MB / 0.9059 GB, free: 1.219 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/0.6664, allocations: 107.4 kB / 0.906 GB, free: 1.113 MB / 0.67 GB Notification: Performance of SimCode: time 1.072e-06/0.6664, allocations: 3.938 kB / 0.906 GB, free: 1.109 MB / 0.67 GB Notification: Performance of Templates: time 0.04241/0.7089, allocations: 28.73 MB / 0.934 GB, free: 4.449 MB / 0.7012 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)