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.004969/0.004969, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001608/0.001608, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002262/0.002262, allocations: 290.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9404, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 99.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4031, allocations: 86.98 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01245/0.4156, allocations: 9.998 MB / 0.7757 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005471/0.4211, allocations: 3.045 MB / 0.7787 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007304/0.4219, allocations: 35.88 kB / 0.7787 GB, free: 6.762 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.424, allocations: 0.6802 MB / 0.7794 GB, free: 6.078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.4256, allocations: 0.7312 MB / 0.7801 GB, free: 5.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.427, allocations: 0.6422 MB / 0.7807 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002748/0.4298, allocations: 2.734 MB / 0.7834 GB, free: 1.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/0.4327, allocations: 2.534 MB / 0.7858 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.4342, allocations: 1.141 MB / 0.787 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.4362, allocations: 1.375 MB / 0.7883 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000487/0.4367, allocations: 216 kB / 0.7885 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.4378, allocations: 491.3 kB / 0.789 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.439, allocations: 0.9824 MB / 0.7899 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.4407, allocations: 1.019 MB / 0.7909 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003973/0.4447, allocations: 3.401 MB / 0.7942 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4447, allocations: 4 kB / 0.7942 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4447, allocations: 0 / 0.7942 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.371e-05/0.4448, allocations: 0 / 0.7942 GB, free: 6.746 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.00412/0.449, allocations: 1.955 MB / 0.7962 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.449, allocations: 8.031 kB / 0.7962 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000465/0.4495, allocations: 248.7 kB / 0.7964 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005556/0.4551, allocations: 0.8844 MB / 0.7973 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.4572, allocations: 1.165 MB / 0.7984 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-05/0.4573, allocations: 111.3 kB / 0.7985 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004125/0.4578, allocations: 152.3 kB / 0.7987 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.4627, allocations: 3.017 MB / 0.8016 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/0.4627, allocations: 0 / 0.8016 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/0.463, allocations: 67.91 kB / 0.8017 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002321/0.4632, allocations: 175 kB / 0.8018 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004158/0.4674, allocations: 2.612 MB / 0.8044 GB, free: 12.15 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.01562/0.483, allocations: 13.48 MB / 0.8176 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.485, allocations: 1.291 MB / 0.8188 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.4864, allocations: 1.05 MB / 0.8198 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.974e-05/0.4865, allocations: 8.656 kB / 0.8198 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.4866, allocations: 47.16 kB / 0.8199 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.4866, allocations: 0 / 0.8199 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=139): time 0.06772/0.5543, allocations: 19.4 MB / 0.8388 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.5544, allocations: 64.72 kB / 0.8389 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.5558, allocations: 0.9183 MB / 0.8398 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.556, allocations: 45.7 kB / 0.8398 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/0.5565, allocations: 0.7322 MB / 0.8406 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004525/0.5569, allocations: 489 kB / 0.841 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006324/0.5576, allocations: 287.5 kB / 0.8413 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5577, allocations: 357.9 kB / 0.8416 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.5597, allocations: 1.335 MB / 0.8429 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.5619, allocations: 1.655 MB / 0.8446 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/0.5659, allocations: 3.089 MB / 0.8476 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.5659, allocations: 8 kB / 0.8476 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01144/0.5774, allocations: 5.644 MB / 0.8531 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.5774, allocations: 11.94 kB / 0.8531 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5775, allocations: 8 kB / 0.8531 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008981/0.5865, allocations: 2.713 MB / 0.8558 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008499/0.5873, allocations: 187.7 kB / 0.8559 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03652/0.6239, allocations: 25.71 MB / 0.8811 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.6253, allocations: 95.95 kB / 0.8811 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.6256, allocations: 52 kB / 0.8812 GB, free: 11.33 MB / 0.6544 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.001279/0.6269, allocations: 0.7441 MB / 0.8819 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.6272, allocations: 118.6 kB / 0.882 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.6383, allocations: 5.388 MB / 0.8873 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.6383, allocations: 16 kB / 0.8873 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.606e-05/0.6384, allocations: 16 kB / 0.8873 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.6384, allocations: 7.969 kB / 0.8873 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.6545, allocations: 8.693 MB / 0.8958 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.6545, allocations: 0 / 0.8958 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.655, allocations: 120.2 kB / 0.8959 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008545/0.6636, allocations: 2.591 MB / 0.8985 GB, free: 9.465 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/0.6638, allocations: 28 kB / 0.8985 GB, free: 9.438 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03465/0.6985, allocations: 24.16 MB / 0.9221 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.6985, allocations: 8 kB / 0.9221 GB, free: 0.7031 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/0.7095, allocations: 5.241 MB / 0.9272 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009639/0.7105, allocations: 495.5 kB / 0.9277 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.7107, allocations: 27.98 kB / 0.9277 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009239/0.7117, allocations: 79.91 kB / 0.9278 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004924/0.7122, allocations: 121 kB / 0.9279 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.7123, allocations: 36 kB / 0.9279 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008373/0.7132, allocations: 0.6512 MB / 0.9286 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7132, allocations: 0 / 0.9286 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002277/0.7154, allocations: 0.7188 MB / 0.9293 GB, free: 9.238 MB / 0.7012 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.01068/0.7261, allocations: 5.831 MB / 0.935 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007126/0.7333, allocations: 4.196 MB / 0.9391 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.7334, allocations: 0 / 0.9391 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005566/0.7389, allocations: 2.713 MB / 0.9417 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.7405, allocations: 219.5 kB / 0.9419 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/0.7777, allocations: 21.42 MB / 0.9628 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.7794, allocations: 1.7 MB / 0.9645 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007428/0.7802, allocations: 325.5 kB / 0.9648 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006757/0.7808, allocations: 0.5266 MB / 0.9653 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/0.7809, allocations: 4 kB / 0.9653 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3836/1.165, allocations: 52.71 MB / 1.017 GB, free: 158.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.44, allocations: 8.125 kB / 1.017 GB, free: 158.6 MB / 0.7325 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)