Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.002054/0.002054, allocations: 108 kB / 15.61 MB, free: 152 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.002075/0.002075, allocations: 194.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 222.4 MB, free: 4.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 73.19 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2145, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02482/0.2394, allocations: 22.59 MB / 0.8055 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.2512, allocations: 6.272 MB / 0.8117 GB, free: 400 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.2532, allocations: 95.56 kB / 0.8118 GB, free: 304 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004394/0.2576, allocations: 1.542 MB / 0.8133 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.2616, allocations: 1.625 MB / 0.8149 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.2649, allocations: 1.355 MB / 0.8162 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006639/0.2716, allocations: 5.936 MB / 0.822 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00873/0.2804, allocations: 6.088 MB / 0.8279 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003813/0.2842, allocations: 2.407 MB / 0.8303 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00414/0.2884, allocations: 2.87 MB / 0.8331 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.2897, allocations: 460 kB / 0.8335 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.2925, allocations: 1.088 MB / 0.8346 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002484/0.295, allocations: 2.039 MB / 0.8366 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002935/0.298, allocations: 2.167 MB / 0.8387 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006531/0.3045, allocations: 7.249 MB / 0.8458 GB, free: 13.32 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3046, allocations: 0 / 0.8458 GB, free: 13.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3046, allocations: 0 / 0.8458 GB, free: 13.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001496/0.3047, allocations: 0 / 0.8458 GB, free: 13.32 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006803/0.3115, allocations: 3.816 MB / 0.8495 GB, free: 9.438 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3116, allocations: 8.031 kB / 0.8495 GB, free: 9.43 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006025/0.3122, allocations: 0.4976 MB / 0.85 GB, free: 8.922 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005911/0.3181, allocations: 1.214 MB / 0.8512 GB, free: 7.703 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004199/0.3223, allocations: 2.219 MB / 0.8533 GB, free: 5.426 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.3226, allocations: 238.4 kB / 0.8536 GB, free: 5.191 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008069/0.3234, allocations: 311.9 kB / 0.8539 GB, free: 4.887 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.3348, allocations: 6.212 MB / 0.8599 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.23e-05/0.3349, allocations: 15.88 kB / 0.8599 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000387/0.3353, allocations: 143.9 kB / 0.8601 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004635/0.3358, allocations: 406.3 kB / 0.8605 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007929/0.3437, allocations: 4.662 MB / 0.865 GB, free: 9.188 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0342/0.3779, allocations: 29.13 MB / 0.8935 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.38, allocations: 1.423 MB / 0.8949 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.3817, allocations: 1.487 MB / 0.8963 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.307e-05/0.3818, allocations: 17 kB / 0.8963 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3819, allocations: 47.5 kB / 0.8964 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.066e-06/0.3819, allocations: 0 / 0.8964 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=179): time 0.5187/0.9005, allocations: 37.23 MB / 0.9327 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.9006, allocations: 74.38 kB / 0.9328 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.9026, allocations: 1.417 MB / 0.9342 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003921/0.9031, allocations: 55.42 kB / 0.9342 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000995/0.9041, allocations: 1.538 MB / 0.9357 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006446/0.9047, allocations: 0.6119 MB / 0.9363 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008513/0.9056, allocations: 385.8 kB / 0.9367 GB, free: 125 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.9056, allocations: 303.7 kB / 0.937 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/0.9081, allocations: 1.785 MB / 0.9387 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.9106, allocations: 2.35 MB / 0.941 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00494/0.9155, allocations: 4.391 MB / 0.9453 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.9156, allocations: 5.188 kB / 0.9453 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0187/0.9343, allocations: 8.571 MB / 0.9537 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.9343, allocations: 18.83 kB / 0.9537 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.9343, allocations: 15.75 kB / 0.9537 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01279/0.9471, allocations: 4.666 MB / 0.9583 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.9483, allocations: 303.1 kB / 0.9586 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03644/0.9847, allocations: 32.61 MB / 0.9904 GB, free: 82.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.9869, allocations: 155.8 kB / 0.9906 GB, free: 82.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.9871, allocations: 83.98 kB / 0.9906 GB, free: 82.64 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001678/0.9888, allocations: 1.332 MB / 0.992 GB, free: 81.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.9891, allocations: 201.6 kB / 0.9921 GB, free: 81.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.004, allocations: 8.433 MB / 1 GB, free: 72.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/1.004, allocations: 19.94 kB / 1 GB, free: 72.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.489e-05/1.004, allocations: 24 kB / 1 GB, free: 72.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-05/1.004, allocations: 11.97 kB / 1 GB, free: 72.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02032/1.024, allocations: 12.84 MB / 1.013 GB, free: 59.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.024, allocations: 12.78 kB / 1.013 GB, free: 59.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/1.025, allocations: 165.5 kB / 1.013 GB, free: 59.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01256/1.038, allocations: 4.516 MB / 1.018 GB, free: 54.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002354/1.038, allocations: 36 kB / 1.018 GB, free: 54.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03692/1.075, allocations: 32.21 MB / 1.049 GB, free: 21.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.075, allocations: 15.06 kB / 1.049 GB, free: 21.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.09, allocations: 8.247 MB / 1.057 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.091, allocations: 0.6156 MB / 1.058 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/1.091, allocations: 35.98 kB / 1.058 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.093, allocations: 139.8 kB / 1.058 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007006/1.093, allocations: 172.8 kB / 1.058 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.094, allocations: 57.97 kB / 1.058 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001011/1.095, allocations: 0.951 MB / 1.059 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.095, allocations: 0 / 1.059 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002698/1.097, allocations: 1.117 MB / 1.06 GB, free: 10.36 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01445/1.112, allocations: 8.836 MB / 1.069 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0135/1.125, allocations: 7.069 MB / 1.076 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.125, allocations: 0 / 1.076 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.009674/1.135, allocations: 4.361 MB / 1.08 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/1.138, allocations: 0.5305 MB / 1.08 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05975/1.197, allocations: 35.21 MB / 1.115 GB, free: 404 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003308/1.201, allocations: 2.729 MB / 1.117 GB, free: 13.63 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001097/1.202, allocations: 391.9 kB / 1.118 GB, free: 13.25 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.203, allocations: 1.214 MB / 1.119 GB, free: 12.04 MB / 0.795 GB Notification: Performance of SimCode: time 7.91e-07/1.203, allocations: 0 / 1.119 GB, free: 12.04 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/1.333, allocations: 82.84 MB / 1.2 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.68, allocations: 14.88 kB / 1.2 GB, free: 9.711 MB / 0.8731 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)