Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001024/0.001024, allocations: 102.1 kB / 15.98 MB, free: 6.355 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.001004/0.001004, allocations: 198.5 kB / 16.91 MB, free: 6.199 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.254/1.254, allocations: 222.9 MB / 240.6 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6599/0.6599, allocations: 115.3 MB / 406.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 493.2 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2961, allocations: 76.17 MB / 0.556 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01228/0.3084, allocations: 14.66 MB / 0.5704 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.3203, allocations: 10.25 MB / 0.5804 GB, free: 18.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.3219, allocations: 49.94 kB / 0.5804 GB, free: 18.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003557/0.3255, allocations: 1.589 MB / 0.582 GB, free: 17.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003918/0.3295, allocations: 1.623 MB / 0.5835 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.3311, allocations: 0.6856 MB / 0.5842 GB, free: 16.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002862/0.334, allocations: 2.762 MB / 0.5869 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.3357, allocations: 1.584 MB / 0.5885 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.3375, allocations: 1.528 MB / 0.59 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.3388, allocations: 1.195 MB / 0.5911 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002131/0.339, allocations: 160.6 kB / 0.5913 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.3404, allocations: 0.7908 MB / 0.592 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005053/0.3409, allocations: 0.6037 MB / 0.5926 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007055/0.3416, allocations: 0.9573 MB / 0.5936 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.3436, allocations: 2.789 MB / 0.5963 GB, free: 10.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3436, allocations: 4 kB / 0.5963 GB, free: 10.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.3436, allocations: 1.062 kB / 0.5963 GB, free: 10.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.3437, allocations: 0 / 0.5963 GB, free: 10.16 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003072/0.3467, allocations: 2.173 MB / 0.5984 GB, free: 8.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3468, allocations: 8.438 kB / 0.5984 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.347, allocations: 186.8 kB / 0.5986 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.3574, allocations: 2.115 MB / 0.6007 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.3591, allocations: 1.213 MB / 0.6019 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.3592, allocations: 82.69 kB / 0.6019 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.3594, allocations: 127.9 kB / 0.6021 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004429/0.3638, allocations: 2.666 MB / 0.6047 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.3638, allocations: 11.89 kB / 0.6047 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.364, allocations: 55.97 kB / 0.6047 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005193/0.3645, allocations: 202 kB / 0.6049 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006033/0.3706, allocations: 2.787 MB / 0.6076 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.3829, allocations: 10.52 MB / 0.6179 GB, free: 4.316 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006209/0.3892, allocations: 2.34 MB / 0.6202 GB, free: 1.949 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/0.3922, allocations: 1.278 MB / 0.6214 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.623e-05/0.3923, allocations: 12.98 kB / 0.6215 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.3924, allocations: 43.56 kB / 0.6215 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.846e-06/0.3924, allocations: 0 / 0.6215 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.05531/0.4477, allocations: 16.48 MB / 0.6376 GB, free: 15.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.4478, allocations: 68.72 kB / 0.6377 GB, free: 15.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.4494, allocations: 1.18 MB / 0.6388 GB, free: 14.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.4496, allocations: 57.7 kB / 0.6389 GB, free: 14.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.4501, allocations: 0.7359 MB / 0.6396 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004675/0.4506, allocations: 0.512 MB / 0.6401 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005776/0.4512, allocations: 287.5 kB / 0.6404 GB, free: 13.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.4513, allocations: 309.1 kB / 0.6406 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003269/0.4546, allocations: 1.507 MB / 0.6421 GB, free: 11.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003409/0.458, allocations: 1.788 MB / 0.6439 GB, free: 9.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/0.4648, allocations: 3.362 MB / 0.6471 GB, free: 5.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4648, allocations: 0 / 0.6471 GB, free: 5.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01265/0.4774, allocations: 5.281 MB / 0.6523 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4775, allocations: 8 kB / 0.6523 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4775, allocations: 8.062 kB / 0.6523 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00663/0.4841, allocations: 1.891 MB / 0.6542 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.4859, allocations: 415.3 kB / 0.6546 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02782/0.5138, allocations: 24.16 MB / 0.6782 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.5166, allocations: 307.6 kB / 0.6784 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/0.5169, allocations: 79.88 kB / 0.6785 GB, free: 4.625 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001005/0.5179, allocations: 461.5 kB / 0.679 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004223/0.5183, allocations: 173.9 kB / 0.6791 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.5315, allocations: 5.324 MB / 0.6843 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.5316, allocations: 16 kB / 0.6843 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.753e-05/0.5316, allocations: 23.94 kB / 0.6844 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.5316, allocations: 7.969 kB / 0.6844 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/0.5475, allocations: 7.414 MB / 0.6916 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.5475, allocations: 4 kB / 0.6916 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.5491, allocations: 359.7 kB / 0.692 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005684/0.5548, allocations: 1.712 MB / 0.6936 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.555, allocations: 47.91 kB / 0.6937 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02761/0.5826, allocations: 23.31 MB / 0.7164 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5826, allocations: 11.94 kB / 0.7165 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/0.5947, allocations: 4.889 MB / 0.7212 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.5958, allocations: 498.7 kB / 0.7217 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/0.5962, allocations: 31.98 kB / 0.7217 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002175/0.5984, allocations: 319.4 kB / 0.722 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004803/0.5989, allocations: 153 kB / 0.7222 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002261/0.5991, allocations: 55.97 kB / 0.7222 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00115/0.6003, allocations: 0.7899 MB / 0.723 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6003, allocations: 0 / 0.723 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002081/0.6024, allocations: 0.6562 MB / 0.7236 GB, free: 4.996 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01182/0.6142, allocations: 5.469 MB / 0.729 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01087/0.6251, allocations: 5.44 MB / 0.7343 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6251, allocations: 0 / 0.7343 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006201/0.6313, allocations: 3.351 MB / 0.7376 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.6335, allocations: 0.557 MB / 0.7381 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2312/0.8648, allocations: 23.61 MB / 0.7612 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.8659, allocations: 1.565 MB / 0.7627 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001508/0.8674, allocations: 385 kB / 0.7631 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007186/0.8682, allocations: 0.6571 MB / 0.7637 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.8682, allocations: 0 / 0.7637 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5487/1.417, allocations: 58.42 MB / 0.8208 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/1.417, allocations: 240.5 kB / 0.821 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.085/5.502, allocations: 0 / 0.821 GB, free: 111.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)