Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.002046/0.002046, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.547/1.547, allocations: 251.9 MB / 0.51 GB, free: 4.801 MB / 414.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.0005308/0.0005308, allocations: 16 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5464/0.5469, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0368/0.5838, allocations: 33.22 MB / 0.7604 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02242/0.6062, allocations: 12.84 MB / 0.773 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004727/0.611, allocations: 95.62 kB / 0.773 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003966/0.615, allocations: 0.7064 MB / 0.7737 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007908/0.623, allocations: 1.472 MB / 0.7752 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008068/0.6311, allocations: 2.116 MB / 0.7772 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008361/0.6395, allocations: 2.96 MB / 0.7801 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01975/0.6593, allocations: 10.04 MB / 0.7899 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.6631, allocations: 1.526 MB / 0.7914 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/0.6672, allocations: 1.694 MB / 0.7931 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001492/0.6688, allocations: 252 kB / 0.7933 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.6716, allocations: 0.5308 MB / 0.7938 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003621/0.6753, allocations: 1.832 MB / 0.7956 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002159/0.6775, allocations: 0.82 MB / 0.7964 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.6881, allocations: 7.615 MB / 0.8039 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6882, allocations: 0 / 0.8039 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6882, allocations: 0 / 0.8039 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003436/0.6885, allocations: 0 / 0.8039 GB, free: 13.46 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01197/0.7005, allocations: 3.436 MB / 0.8072 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.7006, allocations: 8.031 kB / 0.8072 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0055/0.7061, allocations: 1.002 MB / 0.8082 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006739/0.7128, allocations: 2.147 MB / 0.8103 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004353/0.7133, allocations: 324.6 kB / 0.8106 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0022/0.7155, allocations: 435.9 kB / 0.811 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.7334, allocations: 7.303 MB / 0.8182 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.7335, allocations: 11.88 kB / 0.8182 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004954/0.734, allocations: 187.9 kB / 0.8184 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003441/0.7344, allocations: 290.9 kB / 0.8186 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.7459, allocations: 5.928 MB / 0.8244 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04693/0.7928, allocations: 32.61 MB / 0.8563 GB, free: 4.57 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004836/0.7977, allocations: 2.111 MB / 0.8583 GB, free: 2.422 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.798, allocations: 110 kB / 0.8584 GB, free: 2.297 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.7981, allocations: 43.56 kB / 0.8585 GB, free: 2.246 MB / 0.67 GB Notification: Performance of pre-optimization done (n=98): time 3.898e-06/0.7981, allocations: 3.938 kB / 0.8585 GB, free: 2.242 MB / 0.67 GB Notification: Performance of matching and sorting (n=101): time 0.01166/0.8098, allocations: 5.231 MB / 0.8636 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.81, allocations: 141.5 kB / 0.8637 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.8129, allocations: 1.445 MB / 0.8651 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003105/0.8132, allocations: 49.64 kB / 0.8652 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.815, allocations: 1.863 MB / 0.867 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000568/0.8155, allocations: 374.9 kB / 0.8674 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.8157, allocations: 40 kB / 0.8674 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002377/0.8159, allocations: 398 kB / 0.8678 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.8182, allocations: 1.097 MB / 0.8688 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003329/0.8216, allocations: 2.165 MB / 0.871 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.8238, allocations: 1.525 MB / 0.8725 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.8238, allocations: 12 kB / 0.8725 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007104/0.8309, allocations: 3.296 MB / 0.8757 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.008252/0.8392, allocations: 13.42 MB / 0.8888 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.8394, allocations: 36 kB / 0.8888 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.8395, allocations: 52 kB / 0.8889 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003789/0.8433, allocations: 0.62 MB / 0.8895 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000114/0.8435, allocations: 67.78 kB / 0.8895 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.8463, allocations: 318.7 kB / 0.8898 GB, free: 412 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/0.8466, allocations: 116 kB / 0.89 GB, free: 296 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.8466, allocations: 4 kB / 0.89 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004444/0.8511, allocations: 2.73 MB / 0.8926 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.457e-05/0.8512, allocations: 36 kB / 0.8927 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.811e-05/0.8512, allocations: 52 kB / 0.8927 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.853, allocations: 0.5505 MB / 0.8932 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.857e-05/0.8531, allocations: 67.78 kB / 0.8933 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.8547, allocations: 227 kB / 0.8935 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.8548, allocations: 108 kB / 0.8936 GB, free: 12.52 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.003422/0.8582, allocations: 1.718 MB / 0.8953 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005349/0.8588, allocations: 154.1 kB / 0.8955 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.8623, allocations: 2.234 MB / 0.8976 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.8624, allocations: 12 kB / 0.8976 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.8624, allocations: 0 / 0.8976 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.8624, allocations: 11.97 kB / 0.8977 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4695/1.332, allocations: 10.96 MB / 0.9084 GB, free: 160 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-05/1.332, allocations: 14.84 kB / 0.9084 GB, free: 160 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/1.334, allocations: 384.6 kB / 0.9087 GB, free: 160 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.617e-05/1.334, allocations: 18.34 kB / 0.9088 GB, free: 160 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/1.334, allocations: 34.44 kB / 0.9088 GB, free: 160 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.752e-05/1.334, allocations: 25.06 kB / 0.9088 GB, free: 160 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.262e-05/1.334, allocations: 17.16 kB / 0.9088 GB, free: 160 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/1.34, allocations: 3.473 MB / 0.9122 GB, free: 157.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.341, allocations: 466.5 kB / 0.9127 GB, free: 157.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/1.341, allocations: 33.7 kB / 0.9127 GB, free: 157.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/1.343, allocations: 171.5 kB / 0.9129 GB, free: 157.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/1.343, allocations: 98.27 kB / 0.913 GB, free: 157.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.652e-05/1.343, allocations: 41.52 kB / 0.913 GB, free: 157.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002078/1.345, allocations: 0.9568 MB / 0.9139 GB, free: 157.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.505e-06/1.345, allocations: 3.625 kB / 0.9139 GB, free: 157.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006752/1.352, allocations: 1.13 MB / 0.915 GB, free: 157.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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 Backend phase and start with SimCode phase: time 0.0004054/1.352, allocations: 147.3 kB / 0.9152 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006678/1.359, allocations: 3.967 MB / 0.9191 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.359, allocations: 0 / 0.9191 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.36, allocations: 1.059 MB / 0.9201 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/1.362, allocations: 386.6 kB / 0.9205 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.373, allocations: 8.469 MB / 0.9287 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/1.375, allocations: 2.932 MB / 0.9316 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002744/1.378, allocations: 1.212 MB / 0.9328 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/1.379, allocations: 113.7 kB / 0.9329 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.703e-06/1.379, allocations: 3.812 kB / 0.9329 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.03488/1.413, allocations: 22.89 MB / 0.9552 GB, free: 128.4 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) Environment - environmentSimulation: