Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 170.5 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.4 MB / 0.578 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000774/0.0007743, allocations: 91.8 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003874, allocations: 13.12 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2641, allocations: 106.3 MB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006185/0.2703, allocations: 5.722 MB / 0.9065 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00498/0.2753, allocations: 3.212 MB / 0.9096 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009213/0.2763, allocations: 23.81 kB / 0.9097 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.2769, allocations: 126.9 kB / 0.9098 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.2785, allocations: 438 kB / 0.9102 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.28, allocations: 459.1 kB / 0.9106 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001688/0.2817, allocations: 1.467 MB / 0.9121 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.2834, allocations: 0.9866 MB / 0.913 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007552/0.2842, allocations: 362.3 kB / 0.9134 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008647/0.285, allocations: 450.1 kB / 0.9138 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.2852, allocations: 36 kB / 0.9139 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.2865, allocations: 0.573 MB / 0.9144 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.2869, allocations: 255.3 kB / 0.9147 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005533/0.2875, allocations: 391.6 kB / 0.915 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.2888, allocations: 1.164 MB / 0.9162 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2889, allocations: 0 / 0.9162 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.746e-06/0.2889, allocations: 0 / 0.9162 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.2889, allocations: 4 kB / 0.9162 GB, free: 47.54 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00138/0.2903, allocations: 0.9194 MB / 0.9171 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.2903, allocations: 8.031 kB / 0.9171 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.2904, allocations: 118.7 kB / 0.9172 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.2918, allocations: 215.7 kB / 0.9174 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006891/0.2925, allocations: 0.5376 MB / 0.9179 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.2926, allocations: 45.67 kB / 0.918 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.2927, allocations: 80.19 kB / 0.918 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.2939, allocations: 1.03 MB / 0.919 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.2939, allocations: 7.938 kB / 0.9191 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.294, allocations: 27.98 kB / 0.9191 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.379e-05/0.2941, allocations: 77.25 kB / 0.9192 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008356/0.2949, allocations: 0.6918 MB / 0.9198 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.2987, allocations: 5.756 MB / 0.9255 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/0.2994, allocations: 0.6058 MB / 0.926 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.3001, allocations: 412.6 kB / 0.9264 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.3002, allocations: 4 kB / 0.9264 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3002, allocations: 42.56 kB / 0.9265 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 3.156e-06/0.3002, allocations: 0 / 0.9265 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.004084/0.3043, allocations: 2.069 MB / 0.9285 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.3044, allocations: 59.34 kB / 0.9286 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.3048, allocations: 466.7 kB / 0.929 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3048, allocations: 33.7 kB / 0.929 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.305, allocations: 391 kB / 0.9294 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-05/0.3051, allocations: 149.9 kB / 0.9296 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.3052, allocations: 15.94 kB / 0.9296 GB, free: 33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3053, allocations: 358.8 kB / 0.9299 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.3055, allocations: 249.2 kB / 0.9301 GB, free: 32.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.3059, allocations: 465 kB / 0.9306 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007431/0.3067, allocations: 0.7519 MB / 0.9313 GB, free: 31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3067, allocations: 4 kB / 0.9313 GB, free: 30.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001568/0.3083, allocations: 1.065 MB / 0.9324 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.3083, allocations: 11.84 kB / 0.9324 GB, free: 29.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3083, allocations: 4 kB / 0.9324 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009824/0.3093, allocations: 339 kB / 0.9327 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.3096, allocations: 91.89 kB / 0.9328 GB, free: 29.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00521/0.3149, allocations: 6.958 MB / 0.9396 GB, free: 21.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.3153, allocations: 28.02 kB / 0.9396 GB, free: 21.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.3153, allocations: 28 kB / 0.9396 GB, free: 21.91 MB / 0.6042 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004041/0.3158, allocations: 241.5 kB / 0.9399 GB, free: 21.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.3158, allocations: 59.34 kB / 0.9399 GB, free: 21.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.3174, allocations: 0.9156 MB / 0.9408 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3174, allocations: 4 kB / 0.9408 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3174, allocations: 4 kB / 0.9408 GB, free: 20.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3174, allocations: 4 kB / 0.9408 GB, free: 20.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.3196, allocations: 1.712 MB / 0.9425 GB, free: 18.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.3197, allocations: 4.188 kB / 0.9425 GB, free: 18.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.3198, allocations: 47.84 kB / 0.9426 GB, free: 18.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008723/0.3207, allocations: 327.5 kB / 0.9429 GB, free: 18.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.3207, allocations: 12 kB / 0.9429 GB, free: 18.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004813/0.3256, allocations: 6.939 MB / 0.9497 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3256, allocations: 0 / 0.9497 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.3271, allocations: 1.015 MB / 0.9506 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.3273, allocations: 180.2 kB / 0.9508 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.3274, allocations: 11.98 kB / 0.9508 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.3276, allocations: 19.98 kB / 0.9508 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3278, allocations: 47.81 kB / 0.9509 GB, free: 9.645 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.3278, allocations: 12 kB / 0.9509 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002858/0.3281, allocations: 314.9 kB / 0.9512 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3281, allocations: 4 kB / 0.9512 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007555/0.3289, allocations: 196 kB / 0.9514 GB, free: 9.133 MB / 0.6042 GB 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001559/0.3304, allocations: 1.544 MB / 0.9529 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.332, allocations: 1.215 MB / 0.9541 GB, free: 6.262 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3321, allocations: 4 kB / 0.9541 GB, free: 6.258 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.333, allocations: 0.862 MB / 0.9549 GB, free: 5.344 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3341, allocations: 189.5 kB / 0.9551 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/0.3414, allocations: 6.304 MB / 0.9613 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.342, allocations: 0.996 MB / 0.9622 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003454/0.3423, allocations: 101.3 kB / 0.9623 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.3426, allocations: 231.3 kB / 0.9626 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.3426, allocations: 0 / 0.9626 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.3756, allocations: 14.56 MB / 0.9768 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.3759, allocations: 251.1 kB / 0.977 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/3.157, allocations: 3.094 kB / 0.977 GB, free: 14.65 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)