Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_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.005035/0.005035, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001386/0.001386, allocations: 197.5 kB / 16.67 MB, free: 5.922 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002449/0.002449, allocations: 271.1 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9271/0.9271, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00258/0.00258, allocations: 96.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1463, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.28/0.4264, allocations: 9.99 MB / 0.7757 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004711/0.4312, allocations: 3.046 MB / 0.7786 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000431/0.4316, allocations: 40.5 kB / 0.7787 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.4332, allocations: 0.682 MB / 0.7794 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.4344, allocations: 0.6971 MB / 0.78 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.4356, allocations: 0.6367 MB / 0.7807 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002137/0.4378, allocations: 2.736 MB / 0.7833 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/0.4399, allocations: 2.528 MB / 0.7858 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.441, allocations: 1.128 MB / 0.7869 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.4423, allocations: 1.383 MB / 0.7882 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.4426, allocations: 216.3 kB / 0.7885 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007755/0.4434, allocations: 490.6 kB / 0.7889 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007525/0.4441, allocations: 0.9833 MB / 0.7899 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007319/0.4449, allocations: 1.009 MB / 0.7909 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002873/0.4477, allocations: 3.413 MB / 0.7942 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4478, allocations: 3.938 kB / 0.7942 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4478, allocations: 3.031 kB / 0.7942 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.865e-05/0.4478, allocations: 4 kB / 0.7942 GB, free: 4.273 MB / 0.5606 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.002924/0.4507, allocations: 1.991 MB / 0.7962 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.4508, allocations: 10.09 kB / 0.7962 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002898/0.4511, allocations: 250.3 kB / 0.7964 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005202/0.4563, allocations: 0.8964 MB / 0.7973 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.4582, allocations: 1.165 MB / 0.7984 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.4583, allocations: 110.1 kB / 0.7985 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002968/0.4586, allocations: 146.7 kB / 0.7987 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/0.4625, allocations: 3.017 MB / 0.8016 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.4625, allocations: 9.062 kB / 0.8016 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.4627, allocations: 67.44 kB / 0.8017 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001899/0.4629, allocations: 172.5 kB / 0.8018 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/0.4664, allocations: 2.607 MB / 0.8044 GB, free: 15.89 MB / 0.5762 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.01451/0.481, allocations: 13.51 MB / 0.8176 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.4827, allocations: 1.289 MB / 0.8188 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.484, allocations: 1.052 MB / 0.8199 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/0.4841, allocations: 12.72 kB / 0.8199 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.4841, allocations: 42 kB / 0.8199 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.304e-06/0.4841, allocations: 1.25 kB / 0.8199 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139): time 0.06449/0.5486, allocations: 19.42 MB / 0.8389 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.5487, allocations: 68.72 kB / 0.839 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.5499, allocations: 0.9223 MB / 0.8399 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.55, allocations: 45.7 kB / 0.8399 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/0.5505, allocations: 0.7502 MB / 0.8406 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/0.551, allocations: 0.4996 MB / 0.8411 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005326/0.5515, allocations: 287.5 kB / 0.8414 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5517, allocations: 353.9 kB / 0.8417 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.5535, allocations: 1.339 MB / 0.843 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.5556, allocations: 1.652 MB / 0.8447 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.5596, allocations: 3.092 MB / 0.8477 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5596, allocations: 4 kB / 0.8477 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01103/0.5706, allocations: 5.643 MB / 0.8532 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.5707, allocations: 15.94 kB / 0.8532 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.5707, allocations: 12.03 kB / 0.8532 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008066/0.5788, allocations: 2.707 MB / 0.8559 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.5795, allocations: 199.6 kB / 0.8561 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03424/0.6137, allocations: 25.74 MB / 0.8812 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.615, allocations: 95.95 kB / 0.8813 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.6152, allocations: 52 kB / 0.8813 GB, free: 11.82 MB / 0.6387 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.001117/0.6163, allocations: 0.7431 MB / 0.8821 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.6165, allocations: 123.2 kB / 0.8822 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.6272, allocations: 5.396 MB / 0.8874 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.6272, allocations: 12 kB / 0.8875 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/0.6272, allocations: 20 kB / 0.8875 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.6272, allocations: 11.97 kB / 0.8875 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.6424, allocations: 8.686 MB / 0.896 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/0.6424, allocations: 4 kB / 0.896 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.6428, allocations: 119.8 kB / 0.8961 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007839/0.6507, allocations: 2.595 MB / 0.8986 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.6508, allocations: 24 kB / 0.8986 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03222/0.6831, allocations: 24.17 MB / 0.9222 GB, free: 1.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6831, allocations: 4 kB / 0.9223 GB, free: 1.176 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.6933, allocations: 5.253 MB / 0.9274 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008436/0.6942, allocations: 496.2 kB / 0.9279 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.6944, allocations: 27.98 kB / 0.9279 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008106/0.6952, allocations: 79.91 kB / 0.928 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004455/0.6957, allocations: 121 kB / 0.9281 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.883e-05/0.6958, allocations: 39.98 kB / 0.9281 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007993/0.6966, allocations: 0.6395 MB / 0.9287 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6966, allocations: 4 kB / 0.9287 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002288/0.6989, allocations: 0.7227 MB / 0.9294 GB, free: 9.707 MB / 0.6856 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.01063/0.7095, allocations: 5.839 MB / 0.9351 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006902/0.7164, allocations: 4.22 MB / 0.9393 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7164, allocations: 0 / 0.9393 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004801/0.7212, allocations: 2.728 MB / 0.9419 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.7225, allocations: 231 kB / 0.9422 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03468/0.7572, allocations: 21.46 MB / 0.9631 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.7588, allocations: 1.696 MB / 0.9648 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007074/0.7595, allocations: 329.4 kB / 0.9651 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/0.7602, allocations: 0.5344 MB / 0.9656 GB, free: 4 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.7602, allocations: 0 / 0.9656 GB, free: 4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.02/4.781, allocations: 52.73 MB / 1.017 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.55/23.33, allocations: 8.188 kB / 1.017 GB, free: 15.67 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)