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.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.429/1.429, allocations: 252 MB / 267.3 MB, free: 10.81 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.0009951/0.0009951, allocations: 178.1 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.695/1.695, allocations: 205.4 MB / 0.578 GB, free: 20.07 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.0007953/0.0007953, allocations: 90.31 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 8.719 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2035, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01168/0.2152, allocations: 14.03 MB / 0.9146 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.2268, allocations: 10.32 MB / 0.9247 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.2282, allocations: 51.62 kB / 0.9247 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008096/0.2291, allocations: 289.7 kB / 0.925 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004454/0.2335, allocations: 1.616 MB / 0.9266 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.2352, allocations: 0.6806 MB / 0.9273 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003609/0.2388, allocations: 3.413 MB / 0.9306 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002762/0.2416, allocations: 1.979 MB / 0.9325 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.2434, allocations: 1.34 MB / 0.9338 GB, free: 29.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.2448, allocations: 1.085 MB / 0.9349 GB, free: 28.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.245, allocations: 71.94 kB / 0.935 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.2463, allocations: 0.8577 MB / 0.9358 GB, free: 27.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003867/0.2467, allocations: 0.4983 MB / 0.9363 GB, free: 26.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007012/0.2475, allocations: 0.8641 MB / 0.9371 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.2497, allocations: 2.682 MB / 0.9398 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2497, allocations: 0 / 0.9398 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2497, allocations: 0 / 0.9398 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.63e-05/0.2497, allocations: 0 / 0.9398 GB, free: 23.43 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002822/0.2526, allocations: 1.835 MB / 0.9416 GB, free: 21.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2526, allocations: 12.03 kB / 0.9416 GB, free: 21.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002177/0.2528, allocations: 194.4 kB / 0.9417 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.2642, allocations: 2.167 MB / 0.9439 GB, free: 19.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.2666, allocations: 1.213 MB / 0.945 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/0.2667, allocations: 90.62 kB / 0.9451 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.2669, allocations: 119.9 kB / 0.9452 GB, free: 17.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005076/0.272, allocations: 2.694 MB / 0.9479 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.2721, allocations: 7.844 kB / 0.9479 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.2722, allocations: 51.98 kB / 0.9479 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006448/0.2729, allocations: 194.1 kB / 0.9481 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00699/0.2799, allocations: 2.842 MB / 0.9509 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.2917, allocations: 10.57 MB / 0.9612 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006684/0.2984, allocations: 2.387 MB / 0.9636 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003216/0.3016, allocations: 1.3 MB / 0.9648 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.349e-05/0.3017, allocations: 9 kB / 0.9648 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.3018, allocations: 47.5 kB / 0.9649 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=89): time 3.086e-06/0.3018, allocations: 0 / 0.9649 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=153): time 0.0615/0.3633, allocations: 16.52 MB / 0.981 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.3634, allocations: 76.66 kB / 0.9811 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.3652, allocations: 1.176 MB / 0.9822 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.3654, allocations: 53.7 kB / 0.9823 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.366, allocations: 0.7398 MB / 0.983 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005485/0.3666, allocations: 0.5159 MB / 0.9835 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.3668, allocations: 32 kB / 0.9835 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3669, allocations: 373.8 kB / 0.9839 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/0.3706, allocations: 1.534 MB / 0.9854 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003916/0.3745, allocations: 1.795 MB / 0.9871 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007893/0.3825, allocations: 3.405 MB / 0.9905 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.3825, allocations: 0 / 0.9905 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0147/0.3972, allocations: 5.323 MB / 0.9957 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.3973, allocations: 8 kB / 0.9957 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.3973, allocations: 8 kB / 0.9957 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007307/0.4046, allocations: 1.897 MB / 0.9975 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.4069, allocations: 423.2 kB / 0.9979 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03001/0.4369, allocations: 22.18 MB / 1.02 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/0.44, allocations: 319.6 kB / 1.02 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003946/0.4404, allocations: 67.95 kB / 1.02 GB, free: 2.848 MB / 0.6667 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%), (3,15,100.0%), (3,15,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.001233/0.4416, allocations: 467.3 kB / 1.02 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005149/0.4421, allocations: 173.9 kB / 1.021 GB, free: 2.211 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/0.4571, allocations: 5.363 MB / 1.026 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/0.4572, allocations: 16 kB / 1.026 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.719e-05/0.4572, allocations: 20 kB / 1.026 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.564e-05/0.4573, allocations: 11.91 kB / 1.026 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/0.4769, allocations: 7.469 MB / 1.033 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.477, allocations: 0 / 1.033 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/0.4789, allocations: 367.7 kB / 1.034 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006588/0.4855, allocations: 1.708 MB / 1.035 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003032/0.4858, allocations: 47.91 kB / 1.035 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4764/0.9622, allocations: 21.36 MB / 1.056 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9623, allocations: 2.906 kB / 1.056 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.9753, allocations: 4.925 MB / 1.061 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.9765, allocations: 499.8 kB / 1.061 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.9767, allocations: 28.62 kB / 1.061 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/0.9789, allocations: 330.3 kB / 1.062 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005853/0.9795, allocations: 152.4 kB / 1.062 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.9797, allocations: 54.28 kB / 1.062 GB, free: 135.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001168/0.9808, allocations: 0.7914 MB / 1.063 GB, free: 135.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9809, allocations: 0.75 kB / 1.063 GB, free: 135.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002503/0.9834, allocations: 0.654 MB / 1.063 GB, free: 135.8 MB / 0.698 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.01414/0.9975, allocations: 5.532 MB / 1.069 GB, free: 134.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.009, allocations: 5.186 MB / 1.074 GB, free: 133.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.009, allocations: 1.594 kB / 1.074 GB, free: 133.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007482/1.017, allocations: 3.367 MB / 1.077 GB, free: 132.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/1.02, allocations: 0.5249 MB / 1.078 GB, free: 132.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04416/1.064, allocations: 23.77 MB / 1.101 GB, free: 120.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009932/1.065, allocations: 1.568 MB / 1.102 GB, free: 118.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00168/1.067, allocations: 392.3 kB / 1.103 GB, free: 118.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007227/1.068, allocations: 0.6554 MB / 1.103 GB, free: 117.5 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/1.068, allocations: 0 / 1.103 GB, free: 117.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07597/1.144, allocations: 55.62 MB / 1.158 GB, free: 62.52 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/1.144, allocations: 267.5 kB / 1.158 GB, free: 62.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.087/5.231, allocations: 0 / 1.158 GB, free: 62.23 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)