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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009656/0.0009655, allocations: 100.1 kB / 15.88 MB, free: 12 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.0009519/0.0009519, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.214/1.214, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6279/0.6279, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 65.83 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1245, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004319/0.1288, allocations: 3.097 MB / 0.5589 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1313, allocations: 1.929 MB / 0.5608 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.776e-05/0.1314, allocations: 4 kB / 0.5608 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007542/0.1322, allocations: 274.4 kB / 0.561 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.1325, allocations: 175.2 kB / 0.5612 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.133, allocations: 211.5 kB / 0.5614 GB, free: 5.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.1333, allocations: 446.7 kB / 0.5618 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.1337, allocations: 169 kB / 0.562 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1338, allocations: 115.6 kB / 0.5621 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.134, allocations: 151.4 kB / 0.5622 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.1341, allocations: 12 kB / 0.5622 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005706/0.1346, allocations: 479.1 kB / 0.5627 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.351e-05/0.1347, allocations: 83.73 kB / 0.5628 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1348, allocations: 111.5 kB / 0.5629 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.1354, allocations: 0.4946 MB / 0.5634 GB, free: 3.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1354, allocations: 0 / 0.5634 GB, free: 3.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1354, allocations: 0 / 0.5634 GB, free: 3.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1354, allocations: 0 / 0.5634 GB, free: 3.008 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.0008044/0.1362, allocations: 0.5575 MB / 0.5639 GB, free: 2.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1362, allocations: 12.03 kB / 0.5639 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/0.1363, allocations: 62.72 kB / 0.564 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007586/0.1371, allocations: 108.5 kB / 0.5641 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1374, allocations: 259.8 kB / 0.5643 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1374, allocations: 20.8 kB / 0.5644 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.1374, allocations: 20.38 kB / 0.5644 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.1379, allocations: 360.8 kB / 0.5647 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1379, allocations: 0 / 0.5647 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.138, allocations: 8 kB / 0.5647 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.138, allocations: 32.3 kB / 0.5648 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.1384, allocations: 289.5 kB / 0.565 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.1403, allocations: 1.741 MB / 0.5667 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.1408, allocations: 336.1 kB / 0.5671 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.141, allocations: 101.7 kB / 0.5672 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.1411, allocations: 93 kB / 0.5672 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1411, allocations: 30.56 kB / 0.5673 GB, free: 14.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.1411, allocations: 0 / 0.5673 GB, free: 14.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002233/0.1434, allocations: 0.962 MB / 0.5682 GB, free: 13.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1434, allocations: 89.03 kB / 0.5683 GB, free: 13.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.1436, allocations: 208.5 kB / 0.5685 GB, free: 13.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1436, allocations: 29.7 kB / 0.5685 GB, free: 13.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.1437, allocations: 176 kB / 0.5687 GB, free: 13.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.1438, allocations: 82.89 kB / 0.5688 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/0.1439, allocations: 61.59 kB / 0.5688 GB, free: 12.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.144, allocations: 330.8 kB / 0.5691 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.1442, allocations: 127.9 kB / 0.5693 GB, free: 12.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.1444, allocations: 213.4 kB / 0.5695 GB, free: 12.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.1449, allocations: 371.7 kB / 0.5698 GB, free: 11.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1449, allocations: 0 / 0.5698 GB, free: 11.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007673/0.1456, allocations: 0.5036 MB / 0.5703 GB, free: 11.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1457, allocations: 4 kB / 0.5703 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1457, allocations: 4 kB / 0.5703 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004601/0.1461, allocations: 159.5 kB / 0.5705 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.1464, allocations: 55.91 kB / 0.5705 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.1489, allocations: 3.961 MB / 0.5744 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.1491, allocations: 28.17 kB / 0.5744 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.1491, allocations: 12 kB / 0.5744 GB, free: 6.82 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 (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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.1492, allocations: 165.7 kB / 0.5746 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.1493, allocations: 19.81 kB / 0.5746 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007625/0.1501, allocations: 482.5 kB / 0.5751 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1501, allocations: 3.984 kB / 0.5751 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1501, allocations: 4 kB / 0.5751 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1501, allocations: 3.938 kB / 0.5751 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.1514, allocations: 1 MB / 0.5761 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1514, allocations: 7.984 kB / 0.5761 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1516, allocations: 35.92 kB / 0.5761 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000394/0.152, allocations: 151.2 kB / 0.5762 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.152, allocations: 8 kB / 0.5763 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.1543, allocations: 3.95 MB / 0.5801 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1543, allocations: 7.969 kB / 0.5801 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2038/0.3581, allocations: 0.6221 MB / 0.5807 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.3583, allocations: 127.8 kB / 0.5808 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.3584, allocations: 8.375 kB / 0.5809 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.3586, allocations: 19.02 kB / 0.5809 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.3587, allocations: 23.61 kB / 0.5809 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.3587, allocations: 16.16 kB / 0.5809 GB, free: 31.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.3589, allocations: 154.6 kB / 0.5811 GB, free: 31.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3589, allocations: 1.344 kB / 0.5811 GB, free: 31.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005505/0.3594, allocations: 88.77 kB / 0.5811 GB, free: 31.73 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 (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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008876/0.3603, allocations: 1.199 MB / 0.5823 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007937/0.3611, allocations: 0.5722 MB / 0.5829 GB, free: 30.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3612, allocations: 0.8125 kB / 0.5829 GB, free: 30.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.3616, allocations: 395.3 kB / 0.5833 GB, free: 30.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.3621, allocations: 41.16 kB / 0.5833 GB, free: 30.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.3656, allocations: 3.408 MB / 0.5866 GB, free: 28.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3659, allocations: 0.7827 MB / 0.5874 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.3661, allocations: 61.58 kB / 0.5874 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.3662, allocations: 71.36 kB / 0.5875 GB, free: 27.71 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3662, allocations: 0 / 0.5875 GB, free: 27.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.3833, allocations: 6.363 MB / 0.5937 GB, free: 27.19 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.3835, allocations: 236.5 kB / 0.594 GB, free: 26.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.092, allocations: 0.625 kB / 0.594 GB, free: 26.93 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)