Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.004374/0.004374, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001133/0.001133, allocations: 198.4 kB / 16.79 MB, free: 6.242 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.195/1.195, allocations: 222.9 MB / 240.5 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6428/0.6428, allocations: 115.3 MB / 405.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 493 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2747, allocations: 76.17 MB / 0.5558 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006406/0.2812, allocations: 6.789 MB / 0.5625 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003854/0.285, allocations: 3.086 MB / 0.5655 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000545/0.2856, allocations: 26.22 kB / 0.5655 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.2875, allocations: 0.8783 MB / 0.5664 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.2885, allocations: 482.8 kB / 0.5668 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.2895, allocations: 399.2 kB / 0.5672 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.291, allocations: 1.597 MB / 0.5688 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008829/0.2919, allocations: 0.6452 MB / 0.5694 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006365/0.2925, allocations: 423.2 kB / 0.5698 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/0.2933, allocations: 0.532 MB / 0.5703 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.2935, allocations: 46.56 kB / 0.5704 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008708/0.2944, allocations: 457.7 kB / 0.5708 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.2946, allocations: 292.5 kB / 0.5711 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.295, allocations: 433.2 kB / 0.5715 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.2961, allocations: 1.211 MB / 0.5727 GB, free: 26.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2961, allocations: 0 / 0.5727 GB, free: 26.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2961, allocations: 0 / 0.5727 GB, free: 26.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.2961, allocations: 1.375 kB / 0.5727 GB, free: 26.63 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001521/0.2977, allocations: 1.158 MB / 0.5738 GB, free: 25.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2977, allocations: 12.09 kB / 0.5738 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.2978, allocations: 124 kB / 0.5739 GB, free: 25.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.2993, allocations: 240.2 kB / 0.5742 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/0.2999, allocations: 0.5573 MB / 0.5747 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.2999, allocations: 47.83 kB / 0.5748 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/0.3, allocations: 70.05 kB / 0.5748 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.3013, allocations: 1.088 MB / 0.5759 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.3013, allocations: 5.562 kB / 0.5759 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.431e-05/0.3014, allocations: 29.8 kB / 0.5759 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/0.3015, allocations: 85.83 kB / 0.576 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.3025, allocations: 0.7507 MB / 0.5767 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.3062, allocations: 5.889 MB / 0.5825 GB, free: 19.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.307, allocations: 0.56 MB / 0.583 GB, free: 19.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.3074, allocations: 324.4 kB / 0.5833 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.3075, allocations: 5.906 kB / 0.5833 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.3075, allocations: 38.94 kB / 0.5834 GB, free: 18.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.194e-06/0.3075, allocations: 0 / 0.5834 GB, free: 18.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.00317/0.3107, allocations: 1.988 MB / 0.5853 GB, free: 17.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.3107, allocations: 56.94 kB / 0.5854 GB, free: 17.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.3112, allocations: 0.5652 MB / 0.5859 GB, free: 17.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3113, allocations: 32.08 kB / 0.586 GB, free: 17.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3114, allocations: 422.4 kB / 0.5864 GB, free: 17.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.793e-05/0.3115, allocations: 170.5 kB / 0.5865 GB, free: 17.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.3117, allocations: 129.5 kB / 0.5866 GB, free: 17.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.3118, allocations: 382.7 kB / 0.587 GB, free: 16.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.3121, allocations: 271.1 kB / 0.5873 GB, free: 16.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.3125, allocations: 0.4883 MB / 0.5877 GB, free: 16.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007717/0.3133, allocations: 0.8104 MB / 0.5885 GB, free: 15.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3133, allocations: 6.5 kB / 0.5885 GB, free: 15.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001466/0.3148, allocations: 1.086 MB / 0.5896 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3148, allocations: 8.438 kB / 0.5896 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3148, allocations: 7.594 kB / 0.5896 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007278/0.3156, allocations: 281.3 kB / 0.5899 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.316, allocations: 124.6 kB / 0.59 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004108/0.3201, allocations: 6.598 MB / 0.5965 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.3205, allocations: 42.7 kB / 0.5965 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.3206, allocations: 27.66 kB / 0.5965 GB, free: 8.555 MB / 446.1 MB 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 (67): * Single equations (assignments): 63 * 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): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002489/0.3208, allocations: 250.4 kB / 0.5968 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/0.3209, allocations: 72 kB / 0.5968 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.3222, allocations: 0.8963 MB / 0.5977 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3222, allocations: 5.094 kB / 0.5977 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3222, allocations: 3.969 kB / 0.5977 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3222, allocations: 0 / 0.5977 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.3242, allocations: 1.728 MB / 0.5994 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3243, allocations: 4 kB / 0.5994 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.3245, allocations: 59.89 kB / 0.5995 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006135/0.3251, allocations: 275.2 kB / 0.5997 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.3251, allocations: 11.98 kB / 0.5997 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004017/0.3292, allocations: 6.587 MB / 0.6062 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3292, allocations: 4.219 kB / 0.6062 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.3305, allocations: 0.9912 MB / 0.6071 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.3307, allocations: 192.2 kB / 0.6073 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.3308, allocations: 15.94 kB / 0.6073 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.3311, allocations: 27.95 kB / 0.6074 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.3312, allocations: 39.95 kB / 0.6074 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.3312, allocations: 16 kB / 0.6074 GB, free: 13.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003596/0.3316, allocations: 391.1 kB / 0.6078 GB, free: 13.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3316, allocations: 4 kB / 0.6078 GB, free: 13.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006707/0.3323, allocations: 220 kB / 0.608 GB, free: 12.99 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001541/0.3338, allocations: 1.544 MB / 0.6095 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.3355, allocations: 1.275 MB / 0.6108 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3355, allocations: 0 / 0.6108 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.3366, allocations: 0.8893 MB / 0.6116 GB, free: 9.117 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009039/0.3375, allocations: 196.9 kB / 0.6118 GB, free: 8.926 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007777/0.3453, allocations: 6.849 MB / 0.6185 GB, free: 1.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.3458, allocations: 1.013 MB / 0.6195 GB, free: 0.707 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003727/0.3461, allocations: 122 kB / 0.6196 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.3464, allocations: 255.4 kB / 0.6198 GB, free: 344 kB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3464, allocations: 4 kB / 0.6199 GB, free: 340 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.3783, allocations: 16.68 MB / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.3785, allocations: 251.7 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.279, allocations: 0 / 0.6364 GB, free: 15.71 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)