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.0008738/0.0008737, allocations: 98.58 kB / 16.02 MB, free: 80 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.0007666/0.0007665, allocations: 182.2 kB / 16.92 MB, free: 6.773 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.212/1.212, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6218/0.6218, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002645, allocations: 8.75 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002884/0.1143, allocations: 2.743 MB / 0.5627 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1167, allocations: 1.891 MB / 0.5646 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1169, allocations: 7.938 kB / 0.5646 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.117, allocations: 39.7 kB / 0.5646 GB, free: 4.246 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.1174, allocations: 175.3 kB / 0.5648 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.1179, allocations: 207.5 kB / 0.565 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.1183, allocations: 458.7 kB / 0.5654 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005178/0.1188, allocations: 314 kB / 0.5657 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.119, allocations: 115.5 kB / 0.5658 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.1193, allocations: 147.4 kB / 0.566 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1193, allocations: 16 kB / 0.566 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005891/0.1199, allocations: 467.1 kB / 0.5664 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.57e-05/0.12, allocations: 75.73 kB / 0.5665 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1201, allocations: 141.1 kB / 0.5666 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.1206, allocations: 494.5 kB / 0.5671 GB, free: 1.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1206, allocations: 0 / 0.5671 GB, free: 1.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1206, allocations: 0 / 0.5671 GB, free: 1.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1206, allocations: 0 / 0.5671 GB, free: 1.66 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.0006743/0.1213, allocations: 0.5243 MB / 0.5676 GB, free: 1.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1213, allocations: 8.031 kB / 0.5676 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.006e-05/0.1214, allocations: 54.73 kB / 0.5677 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007211/0.1221, allocations: 112.5 kB / 0.5678 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1224, allocations: 267.3 kB / 0.568 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1225, allocations: 12.81 kB / 0.5681 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.1225, allocations: 24.3 kB / 0.5681 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.123, allocations: 352.9 kB / 0.5684 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.123, allocations: 0 / 0.5684 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.123, allocations: 11.98 kB / 0.5684 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.1231, allocations: 28.36 kB / 0.5685 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.1235, allocations: 293.6 kB / 0.5687 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.1253, allocations: 1.737 MB / 0.5704 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.1258, allocations: 334 kB / 0.5707 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1259, allocations: 105.7 kB / 0.5708 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.371e-05/0.126, allocations: 85.11 kB / 0.5709 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1261, allocations: 42.59 kB / 0.571 GB, free: 13.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.1261, allocations: 3.938 kB / 0.571 GB, free: 13.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.00221/0.1283, allocations: 0.973 MB / 0.5719 GB, free: 12.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1283, allocations: 81.05 kB / 0.572 GB, free: 12.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1285, allocations: 212.5 kB / 0.5722 GB, free: 12.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1286, allocations: 29.7 kB / 0.5722 GB, free: 11.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.1287, allocations: 179.9 kB / 0.5724 GB, free: 11.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.1287, allocations: 78.89 kB / 0.5725 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.1288, allocations: 29.72 kB / 0.5725 GB, free: 11.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.1289, allocations: 334.8 kB / 0.5728 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.129, allocations: 131.9 kB / 0.573 GB, free: 11.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.1293, allocations: 205.4 kB / 0.5731 GB, free: 11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.1297, allocations: 375.8 kB / 0.5735 GB, free: 10.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1297, allocations: 0 / 0.5735 GB, free: 10.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007467/0.1304, allocations: 0.5078 MB / 0.574 GB, free: 10.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1304, allocations: 8 kB / 0.574 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1305, allocations: 0 / 0.574 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000442/0.1309, allocations: 147.4 kB / 0.5741 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.1311, allocations: 64 kB / 0.5742 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.1336, allocations: 3.977 MB / 0.5781 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.1338, allocations: 15.98 kB / 0.5781 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.1338, allocations: 16 kB / 0.5781 GB, free: 5.52 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.0001408/0.1339, allocations: 165.8 kB / 0.5783 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.134, allocations: 19.81 kB / 0.5783 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007499/0.1348, allocations: 474.5 kB / 0.5788 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1348, allocations: 0 / 0.5788 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1348, allocations: 8 kB / 0.5788 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1348, allocations: 7.922 kB / 0.5788 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.1361, allocations: 1.002 MB / 0.5797 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1361, allocations: 4 kB / 0.5798 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1362, allocations: 31.97 kB / 0.5798 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.1366, allocations: 159.4 kB / 0.5799 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1367, allocations: 4 kB / 0.5799 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1913/0.3279, allocations: 3.94 MB / 0.5838 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.328, allocations: 5.031 kB / 0.5838 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007838/0.3288, allocations: 0.6187 MB / 0.5844 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3289, allocations: 129.5 kB / 0.5845 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.3289, allocations: 8.125 kB / 0.5845 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.3292, allocations: 22.02 kB / 0.5845 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.3292, allocations: 23.83 kB / 0.5846 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3292, allocations: 10.86 kB / 0.5846 GB, free: 29.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3294, allocations: 157.6 kB / 0.5847 GB, free: 28.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3294, allocations: 0 / 0.5847 GB, free: 28.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004818/0.3299, allocations: 95.36 kB / 0.5848 GB, free: 28.94 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.0008726/0.3307, allocations: 1.204 MB / 0.586 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007913/0.3315, allocations: 0.5818 MB / 0.5866 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3316, allocations: 0 / 0.5866 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.332, allocations: 404.7 kB / 0.587 GB, free: 27.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.3325, allocations: 43.95 kB / 0.587 GB, free: 27.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.3359, allocations: 3.428 MB / 0.5903 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.3362, allocations: 0.7803 MB / 0.5911 GB, free: 25.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.3363, allocations: 56.69 kB / 0.5912 GB, free: 25.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.3364, allocations: 72.2 kB / 0.5912 GB, free: 25.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3364, allocations: 0.6562 kB / 0.5912 GB, free: 25.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.728/3.064, allocations: 6.215 MB / 0.5973 GB, free: 24.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/3.065, allocations: 237.1 kB / 0.5975 GB, free: 24.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/4.827, allocations: 0.875 kB / 0.5975 GB, free: 24.43 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)