Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001042/0.001042, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001078/0.001078, allocations: 196.7 kB / 16.14 MB, free: 6.707 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.329/1.329, allocations: 205.1 MB / 222 MB, free: 4.953 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.617/1.617, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.0013/0.0013, allocations: 72.38 kB / 0.6709 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1822, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01093/0.1932, allocations: 9.999 MB / 0.7926 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004612/0.1978, allocations: 3.089 MB / 0.7956 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005098/0.1984, allocations: 31.81 kB / 0.7956 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.1999, allocations: 0.6273 MB / 0.7962 GB, free: 116 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.2012, allocations: 0.6498 MB / 0.7969 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.2024, allocations: 0.5946 MB / 0.7974 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.2055, allocations: 4.06 MB / 0.8014 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003364/0.2089, allocations: 2.825 MB / 0.8042 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.2101, allocations: 0.9576 MB / 0.8051 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.2115, allocations: 1.422 MB / 0.8065 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.2118, allocations: 148 kB / 0.8066 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000843/0.2126, allocations: 0.4953 MB / 0.8071 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007382/0.2134, allocations: 0.9082 MB / 0.808 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000827/0.2142, allocations: 0.9372 MB / 0.8089 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.2166, allocations: 3.354 MB / 0.8122 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2166, allocations: 4 kB / 0.8122 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 7.42e-07/0.2166, allocations: 0 / 0.8122 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.742e-05/0.2166, allocations: 0 / 0.8122 GB, free: 15.7 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002911/0.2195, allocations: 1.94 MB / 0.8141 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2196, allocations: 8.031 kB / 0.8141 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002851/0.2199, allocations: 252.7 kB / 0.8143 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/0.2252, allocations: 0.8882 MB / 0.8152 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.2268, allocations: 1.122 MB / 0.8163 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.929e-05/0.2269, allocations: 111.3 kB / 0.8164 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.2271, allocations: 140.3 kB / 0.8165 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/0.2311, allocations: 3.017 MB / 0.8195 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.2312, allocations: 7.938 kB / 0.8195 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.2314, allocations: 63.97 kB / 0.8196 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/0.2316, allocations: 175 kB / 0.8197 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.2352, allocations: 2.604 MB / 0.8223 GB, free: 5.16 MB / 0.6387 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.01355/0.2488, allocations: 13.57 MB / 0.8355 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.2505, allocations: 1.287 MB / 0.8368 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.2517, allocations: 1.058 MB / 0.8378 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.645e-05/0.2518, allocations: 12.66 kB / 0.8378 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2518, allocations: 43.16 kB / 0.8379 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 4.187e-06/0.2519, allocations: 3.984 kB / 0.8379 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.06434/0.3162, allocations: 19.38 MB / 0.8568 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3163, allocations: 68.7 kB / 0.8569 GB, free: 464 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.3174, allocations: 0.9183 MB / 0.8578 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.3176, allocations: 49.7 kB / 0.8578 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.3181, allocations: 0.7322 MB / 0.8585 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/0.3185, allocations: 492.9 kB / 0.859 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005328/0.319, allocations: 291.4 kB / 0.8593 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3191, allocations: 353.9 kB / 0.8596 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.3209, allocations: 1.335 MB / 0.8609 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.3228, allocations: 1.662 MB / 0.8625 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003707/0.3265, allocations: 3.089 MB / 0.8655 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.3265, allocations: 3.938 kB / 0.8656 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01075/0.3373, allocations: 5.64 MB / 0.8711 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.3374, allocations: 11.94 kB / 0.8711 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.3374, allocations: 8 kB / 0.8711 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008276/0.3457, allocations: 2.715 MB / 0.8737 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.3465, allocations: 191.6 kB / 0.8739 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0302/0.3767, allocations: 23.34 MB / 0.8967 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.378, allocations: 99.94 kB / 0.8968 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.3781, allocations: 52 kB / 0.8969 GB, free: 6.629 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001032/0.3792, allocations: 0.7293 MB / 0.8976 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.3794, allocations: 130.5 kB / 0.8977 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.3896, allocations: 5.388 MB / 0.9029 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/0.3897, allocations: 16 kB / 0.903 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-05/0.3898, allocations: 16 kB / 0.903 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.292e-05/0.3898, allocations: 11.92 kB / 0.903 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.4054, allocations: 8.648 MB / 0.9114 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.4054, allocations: 8.359 kB / 0.9114 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.4059, allocations: 119.7 kB / 0.9116 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008109/0.414, allocations: 2.538 MB / 0.914 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.4142, allocations: 32 kB / 0.9141 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3446/0.7589, allocations: 20.87 MB / 0.9345 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.7589, allocations: 5.391 kB / 0.9345 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.7697, allocations: 5.132 MB / 0.9395 GB, free: 121.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009334/0.7706, allocations: 474.9 kB / 0.9399 GB, free: 120.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.7709, allocations: 33.7 kB / 0.94 GB, free: 120.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/0.7719, allocations: 77.67 kB / 0.94 GB, free: 120.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006004/0.7725, allocations: 121.8 kB / 0.9401 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.7727, allocations: 39.53 kB / 0.9402 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001039/0.7737, allocations: 0.6396 MB / 0.9408 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7737, allocations: 0.5938 kB / 0.9408 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002442/0.7762, allocations: 0.7216 MB / 0.9415 GB, free: 120.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009346/0.7855, allocations: 5.716 MB / 0.9471 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006866/0.7924, allocations: 4.155 MB / 0.9511 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.7925, allocations: 1.156 kB / 0.9512 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005305/0.7978, allocations: 2.656 MB / 0.9537 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.7996, allocations: 208.3 kB / 0.9539 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03363/0.8332, allocations: 22.55 MB / 0.976 GB, free: 99.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.8347, allocations: 1.704 MB / 0.9776 GB, free: 97.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007348/0.8355, allocations: 330 kB / 0.9779 GB, free: 97.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/0.836, allocations: 0.5305 MB / 0.9785 GB, free: 96.73 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/0.836, allocations: 0 / 0.9785 GB, free: 96.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0546/0.8906, allocations: 50.44 MB / 1.028 GB, free: 46.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001291/0.8908, allocations: 255 kB / 1.028 GB, free: 46.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.229, allocations: 5.562 kB / 1.028 GB, free: 46.43 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)