Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008239/0.000824, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.004973/0.004973, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.31/1.31, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 270.4 kB / 291.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9247/0.9247, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004202, allocations: 17.25 kB / 0.5988 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1706, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0232/0.1938, allocations: 21.77 MB / 0.7065 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.2043, allocations: 6.186 MB / 0.7125 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.2061, allocations: 79.5 kB / 0.7126 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.2072, allocations: 432.7 kB / 0.713 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003541/0.2107, allocations: 1.545 MB / 0.7145 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.2133, allocations: 1.094 MB / 0.7156 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009235/0.2226, allocations: 8.856 MB / 0.7243 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.2333, allocations: 7.186 MB / 0.7313 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.2365, allocations: 1.766 MB / 0.733 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00351/0.24, allocations: 2.605 MB / 0.7355 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004177/0.2404, allocations: 204 kB / 0.7357 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.2423, allocations: 1.022 MB / 0.7367 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001692/0.244, allocations: 1.719 MB / 0.7384 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.246, allocations: 1.821 MB / 0.7402 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006318/0.2523, allocations: 6.973 MB / 0.747 GB, free: 15.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2523, allocations: 3.938 kB / 0.747 GB, free: 15.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2523, allocations: 0 / 0.747 GB, free: 15.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001549/0.2525, allocations: 4 kB / 0.747 GB, free: 15.47 MB / 0.545 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.005834/0.2583, allocations: 3.064 MB / 0.75 GB, free: 12.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2584, allocations: 12.03 kB / 0.75 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009139/0.2593, allocations: 0.4976 MB / 0.7505 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006023/0.2653, allocations: 1.214 MB / 0.7517 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/0.2694, allocations: 2.215 MB / 0.7538 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.2696, allocations: 242.4 kB / 0.7541 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007114/0.2704, allocations: 315.9 kB / 0.7544 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009953/0.2803, allocations: 6.212 MB / 0.7604 GB, free: 1.324 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-05/0.2804, allocations: 7.938 kB / 0.7605 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003582/0.2808, allocations: 140 kB / 0.7606 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004899/0.2813, allocations: 406.2 kB / 0.761 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008751/0.29, allocations: 4.662 MB / 0.7655 GB, free: 12.11 MB / 0.5606 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.3074/0.5974, allocations: 29.08 MB / 0.7939 GB, free: 69.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.5997, allocations: 1.416 MB / 0.7953 GB, free: 69.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.6015, allocations: 1.489 MB / 0.7968 GB, free: 68.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.732e-05/0.6016, allocations: 14.78 kB / 0.7968 GB, free: 68.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.6016, allocations: 39.16 kB / 0.7968 GB, free: 68.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 3.487e-06/0.6016, allocations: 3 kB / 0.7968 GB, free: 68.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.1429/0.7445, allocations: 36.31 MB / 0.8323 GB, free: 50.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.7447, allocations: 73.41 kB / 0.8324 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.7467, allocations: 1.423 MB / 0.8337 GB, free: 49.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000407/0.7471, allocations: 49.7 kB / 0.8338 GB, free: 49.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007905/0.7479, allocations: 1.549 MB / 0.8353 GB, free: 47.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006439/0.7486, allocations: 0.6142 MB / 0.8359 GB, free: 47.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.7488, allocations: 157.7 kB / 0.8361 GB, free: 47.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.7489, allocations: 305.1 kB / 0.8363 GB, free: 46.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.751, allocations: 1.784 MB / 0.8381 GB, free: 44.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.7533, allocations: 2.354 MB / 0.8404 GB, free: 42.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0044/0.7577, allocations: 4.383 MB / 0.8447 GB, free: 37.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.7577, allocations: 10.81 kB / 0.8447 GB, free: 37.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0159/0.7736, allocations: 8.571 MB / 0.853 GB, free: 29.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/0.7737, allocations: 12 kB / 0.8531 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/0.7738, allocations: 16 kB / 0.8531 GB, free: 29.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01374/0.7875, allocations: 4.637 MB / 0.8576 GB, free: 24.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.7889, allocations: 299.5 kB / 0.8579 GB, free: 24.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03867/0.8275, allocations: 29.49 MB / 0.8867 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.8299, allocations: 151.8 kB / 0.8868 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/0.8301, allocations: 87.98 kB / 0.8869 GB, free: 9.641 MB / 0.5762 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.002445/0.8326, allocations: 1.318 MB / 0.8882 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.833, allocations: 197.7 kB / 0.8884 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/0.8509, allocations: 8.45 MB / 0.8966 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.851, allocations: 20 kB / 0.8967 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.346e-05/0.851, allocations: 24 kB / 0.8967 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/0.851, allocations: 7.969 kB / 0.8967 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02398/0.875, allocations: 12.85 MB / 0.9092 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.8751, allocations: 8 kB / 0.9092 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007186/0.8758, allocations: 167.7 kB / 0.9094 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/0.8901, allocations: 4.483 MB / 0.9138 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/0.8904, allocations: 36 kB / 0.9138 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04262/0.933, allocations: 29.11 MB / 0.9422 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/0.933, allocations: 11.94 kB / 0.9423 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/0.9503, allocations: 8.232 MB / 0.9503 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.9518, allocations: 0.6157 MB / 0.9509 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/0.9521, allocations: 40 kB / 0.9509 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.9536, allocations: 135.8 kB / 0.9511 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008251/0.9544, allocations: 176.8 kB / 0.9512 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.9545, allocations: 51.92 kB / 0.9513 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001295/0.9558, allocations: 0.9588 MB / 0.9522 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9559, allocations: 0 / 0.9522 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00332/0.9592, allocations: 1.124 MB / 0.9533 GB, free: 4.504 MB / 0.6387 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.01693/0.9761, allocations: 8.833 MB / 0.9619 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01258/0.9887, allocations: 6.429 MB / 0.9682 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.9888, allocations: 0 / 0.9682 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009391/0.9982, allocations: 4.285 MB / 0.9724 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/1.002, allocations: 0.4923 MB / 0.9729 GB, free: 192 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06248/1.065, allocations: 36.74 MB / 1.009 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003009/1.068, allocations: 2.719 MB / 1.011 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001239/1.069, allocations: 388.6 kB / 1.012 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/1.07, allocations: 1.215 MB / 1.013 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of SimCode: time 9.42e-07/1.07, allocations: 3.938 kB / 1.013 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4447/1.515, allocations: 78.75 MB / 1.09 GB, free: 231.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/1.515, allocations: 265.5 kB / 1.09 GB, free: 231.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/4.412, allocations: 0 / 1.09 GB, free: 231.2 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)