Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 116.2 kB / 17.09 MB, free: 5.98 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.001515/0.001515, allocations: 189.6 kB / 18.02 MB, free: 5.07 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6762/0.6762, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.53 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1363, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02156/0.1578, allocations: 19.26 MB / 0.6515 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.1723, allocations: 9.704 MB / 0.661 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.1745, allocations: 67.75 kB / 0.6611 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004049/0.1786, allocations: 1.663 MB / 0.6627 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.1821, allocations: 1.323 MB / 0.664 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003775/0.1859, allocations: 1.518 MB / 0.6655 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004273/0.1902, allocations: 3.979 MB / 0.6694 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005423/0.1956, allocations: 5.319 MB / 0.6746 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002422/0.1981, allocations: 1.851 MB / 0.6764 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.2004, allocations: 1.951 MB / 0.6783 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004698/0.2009, allocations: 372 kB / 0.6786 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.2021, allocations: 0.7101 MB / 0.6793 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.2033, allocations: 1.427 MB / 0.6807 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.2047, allocations: 1.587 MB / 0.6823 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004242/0.2089, allocations: 5.411 MB / 0.6876 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2089, allocations: 0 / 0.6876 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2089, allocations: 0 / 0.6876 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.128e-05/0.209, allocations: 0 / 0.6876 GB, free: 12.08 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 652 * Number of variables: 652 Notification: Performance of Generate backend data structure: time 0.004881/0.2139, allocations: 2.93 MB / 0.6904 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.214, allocations: 8.031 kB / 0.6904 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.2165, allocations: 0.5131 MB / 0.6909 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.2187, allocations: 1.557 MB / 0.6924 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.2189, allocations: 215.1 kB / 0.6927 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/0.2193, allocations: 251.9 kB / 0.6929 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0057/0.225, allocations: 3.894 MB / 0.6967 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/0.225, allocations: 7.938 kB / 0.6967 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.2253, allocations: 108 kB / 0.6968 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004556/0.2258, allocations: 184.9 kB / 0.697 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/0.2303, allocations: 3.119 MB / 0.7 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.2454, allocations: 13.61 MB / 0.7133 GB, free: 348 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.2467, allocations: 0.7429 MB / 0.714 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/0.2475, allocations: 0.518 MB / 0.7145 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.2476, allocations: 97.53 kB / 0.7146 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007488/0.2484, allocations: 0.5929 MB / 0.7152 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=56): time 2.845e-06/0.2484, allocations: 0 / 0.7152 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.02483/0.2733, allocations: 8.693 MB / 0.7237 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.2735, allocations: 406.2 kB / 0.7241 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.2753, allocations: 1.242 MB / 0.7253 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.2755, allocations: 41.7 kB / 0.7253 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.2766, allocations: 1.254 MB / 0.7266 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.2769, allocations: 284.1 kB / 0.7268 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005472/0.2774, allocations: 311.2 kB / 0.7271 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2776, allocations: 305.1 kB / 0.7274 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.2787, allocations: 0.7582 MB / 0.7282 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.2803, allocations: 1.457 MB / 0.7296 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/0.2831, allocations: 2.375 MB / 0.7319 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.432e-05/0.2831, allocations: 8 kB / 0.7319 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008211/0.2913, allocations: 3.512 MB / 0.7354 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/0.2914, allocations: 75.66 kB / 0.7354 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.343e-05/0.2915, allocations: 24 kB / 0.7354 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00522/0.2967, allocations: 1.337 MB / 0.7368 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.2978, allocations: 299.5 kB / 0.737 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/0.3138, allocations: 11.48 MB / 0.7482 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.3157, allocations: 139.5 kB / 0.7484 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/0.316, allocations: 87.92 kB / 0.7485 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002766/0.3188, allocations: 1.62 MB / 0.75 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001798/0.3206, allocations: 1.426 MB / 0.7514 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002767/0.3234, allocations: 2.343 MB / 0.7537 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.962e-05/0.3235, allocations: 8 kB / 0.7537 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.006832/0.3303, allocations: 3.094 MB / 0.7568 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.367e-05/0.3304, allocations: 71.66 kB / 0.7568 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.173e-05/0.3304, allocations: 28 kB / 0.7569 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003349/0.3338, allocations: 0.8559 MB / 0.7577 GB, free: 488 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.335, allocations: 339.4 kB / 0.758 GB, free: 148 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3777/0.7127, allocations: 6.295 MB / 0.7642 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.7146, allocations: 125.8 kB / 0.7643 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.7147, allocations: 78.25 kB / 0.7644 GB, free: 111.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 6 (load_ctrl.vCTRL_1.ctrl.tSwitch,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0004706/0.7152, allocations: 334.7 kB / 0.7647 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.7154, allocations: 135.2 kB / 0.7648 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007242/0.7227, allocations: 2.526 MB / 0.7673 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.7227, allocations: 6.922 kB / 0.7673 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7227, allocations: 1.562 kB / 0.7673 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/0.7233, allocations: 321.6 kB / 0.7676 GB, free: 110.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.7235, allocations: 19.81 kB / 0.7676 GB, free: 110.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/0.7243, allocations: 73.31 kB / 0.7677 GB, free: 110.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003337/0.7246, allocations: 80.95 kB / 0.7677 GB, free: 110.4 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005665/0.7303, allocations: 2.519 MB / 0.7702 GB, free: 109.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003498/0.7338, allocations: 2.3 MB / 0.7725 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009675/0.7348, allocations: 0.6458 MB / 0.7731 GB, free: 108.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001326/0.7361, allocations: 0.8314 MB / 0.7739 GB, free: 107.9 MB / 0.5919 GB Notification: Performance of Backend: time 6.91e-07/0.7361, allocations: 0 / 0.7739 GB, free: 107.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009368/0.7455, allocations: 4.206 MB / 0.778 GB, free: 106 MB / 0.5919 GB Notification: Performance of SimCode: time 0.007784/0.7533, allocations: 4.78 MB / 0.7827 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.04619/0.7996, allocations: 37.39 MB / 0.8192 GB, free: 73.28 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)