Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009336/0.0009336, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008027/0.0008027, allocations: 176.6 kB / 16.58 MB, free: 6.852 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.442/1.442, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7145/0.7145, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005577/0.0005578, allocations: 8 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2321, allocations: 77.53 MB / 0.5593 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003859/0.236, allocations: 2.646 MB / 0.5619 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.2392, allocations: 1.767 MB / 0.5636 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.2394, allocations: 7.938 kB / 0.5636 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.2397, allocations: 35.78 kB / 0.5637 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.2403, allocations: 143.3 kB / 0.5638 GB, free: 4.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006605/0.2409, allocations: 167.5 kB / 0.564 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000546/0.2415, allocations: 366.8 kB / 0.5643 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.2422, allocations: 321.8 kB / 0.5646 GB, free: 3.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.2425, allocations: 103.6 kB / 0.5647 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.2429, allocations: 139.5 kB / 0.5649 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.243, allocations: 8 kB / 0.5649 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005706/0.2435, allocations: 259.6 kB / 0.5651 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2437, allocations: 75.78 kB / 0.5652 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.2438, allocations: 65.58 kB / 0.5653 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.2444, allocations: 355.1 kB / 0.5656 GB, free: 2.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2444, allocations: 4 kB / 0.5656 GB, free: 2.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2444, allocations: 4 kB / 0.5656 GB, free: 2.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2444, allocations: 0 / 0.5656 GB, free: 2.93 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001061/0.2455, allocations: 0.5184 MB / 0.5661 GB, free: 2.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2455, allocations: 8.031 kB / 0.5661 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008872/0.2464, allocations: 115.6 kB / 0.5662 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.2468, allocations: 260.2 kB / 0.5665 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2469, allocations: 12.44 kB / 0.5665 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.2469, allocations: 19.98 kB / 0.5665 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.2475, allocations: 352.9 kB / 0.5668 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2475, allocations: 4 kB / 0.5668 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.2475, allocations: 15.98 kB / 0.5669 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/0.2476, allocations: 24.42 kB / 0.5669 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.2481, allocations: 293.5 kB / 0.5672 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.2503, allocations: 1.737 MB / 0.5689 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.2508, allocations: 321.1 kB / 0.5692 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.251, allocations: 105.7 kB / 0.5693 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.2511, allocations: 89.47 kB / 0.5693 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.2511, allocations: 38.5 kB / 0.5694 GB, free: 14.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/0.2511, allocations: 0 / 0.5694 GB, free: 14.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002368/0.2535, allocations: 0.9874 MB / 0.5704 GB, free: 13.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.2536, allocations: 85.25 kB / 0.5704 GB, free: 13.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.2538, allocations: 204.5 kB / 0.5706 GB, free: 13.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.2539, allocations: 37.73 kB / 0.5707 GB, free: 13.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.254, allocations: 172.1 kB / 0.5708 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/0.2541, allocations: 74.84 kB / 0.5709 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.2541, allocations: 8 kB / 0.5709 GB, free: 13.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2542, allocations: 330.8 kB / 0.5712 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.2544, allocations: 131.9 kB / 0.5713 GB, free: 12.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.2547, allocations: 209.4 kB / 0.5715 GB, free: 12.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.2549, allocations: 165.4 kB / 0.5717 GB, free: 12.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.255, allocations: 0 / 0.5717 GB, free: 12.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008576/0.2558, allocations: 0.5094 MB / 0.5722 GB, free: 11.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.2559, allocations: 12.06 kB / 0.5722 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2559, allocations: 0 / 0.5722 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00048/0.2564, allocations: 151.3 kB / 0.5724 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.2566, allocations: 55.91 kB / 0.5724 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.2596, allocations: 3.969 MB / 0.5763 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.2598, allocations: 19.98 kB / 0.5763 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.2599, allocations: 12 kB / 0.5763 GB, free: 7.145 MB / 446.1 MB 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 (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.2601, allocations: 165.8 kB / 0.5765 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.2601, allocations: 23.77 kB / 0.5765 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008467/0.261, allocations: 469.7 kB / 0.5769 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.261, allocations: 8 kB / 0.577 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.261, allocations: 0 / 0.577 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.261, allocations: 3.953 kB / 0.577 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.2625, allocations: 1.008 MB / 0.5779 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.2626, allocations: 4 kB / 0.5779 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.2627, allocations: 31.92 kB / 0.578 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003938/0.2631, allocations: 147.5 kB / 0.5781 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.2631, allocations: 8 kB / 0.5781 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002754/0.2659, allocations: 3.938 MB / 0.582 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2659, allocations: 4.031 kB / 0.582 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008203/0.2667, allocations: 0.6299 MB / 0.5826 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.2669, allocations: 128.8 kB / 0.5827 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.2669, allocations: 8 kB / 0.5827 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2672, allocations: 15.98 kB / 0.5827 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.2672, allocations: 39.8 kB / 0.5828 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.2672, allocations: 8 kB / 0.5828 GB, free: 8 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.3409/0.6081, allocations: 147.9 kB / 0.5829 GB, free: 30.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6082, allocations: 4.469 kB / 0.5829 GB, free: 30.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009026/0.6091, allocations: 87.06 kB / 0.583 GB, free: 30.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002639/0.6094, allocations: 135.9 kB / 0.5831 GB, free: 30.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.6105, allocations: 0.5616 MB / 0.5837 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6105, allocations: 1.344 kB / 0.5837 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005028/0.611, allocations: 399.5 kB / 0.5841 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.6116, allocations: 41.19 kB / 0.5841 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.6129, allocations: 0.7277 MB / 0.5848 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.6133, allocations: 0.7821 MB / 0.5856 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.6135, allocations: 55.06 kB / 0.5856 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.6135, allocations: 20.72 kB / 0.5857 GB, free: 28.88 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6135, allocations: 1.125 kB / 0.5857 GB, free: 28.88 MB / 446.1 MB Notification: Performance of Templates: time 0.01014/0.6237, allocations: 3.869 MB / 0.5894 GB, free: 28.7 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)