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.001222/0.001222, allocations: 108 kB / 15.6 MB, free: 132 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.001255/0.001255, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002154, allocations: 299 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9428/0.9428, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 96.94 kB / 0.5954 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1604, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02405/0.1844, allocations: 22.57 MB / 0.7023 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009914/0.1944, allocations: 6.225 MB / 0.7084 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.196, allocations: 99.5 kB / 0.7085 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003881/0.1999, allocations: 1.546 MB / 0.71 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.2037, allocations: 1.622 MB / 0.7116 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.2072, allocations: 1.34 MB / 0.7129 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007109/0.2143, allocations: 5.943 MB / 0.7187 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008619/0.2229, allocations: 6.099 MB / 0.7247 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.2264, allocations: 2.399 MB / 0.727 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004217/0.2306, allocations: 2.874 MB / 0.7298 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.2318, allocations: 460 kB / 0.7303 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.2346, allocations: 1.1 MB / 0.7313 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002506/0.2371, allocations: 2.031 MB / 0.7333 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003363/0.2405, allocations: 2.167 MB / 0.7354 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0061/0.2466, allocations: 7.241 MB / 0.7425 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2466, allocations: 0 / 0.7425 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2466, allocations: 0 / 0.7425 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.87e-05/0.2467, allocations: 0 / 0.7425 GB, free: 0.6289 MB / 0.5294 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.005933/0.2527, allocations: 3.82 MB / 0.7462 GB, free: 12.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2527, allocations: 12.03 kB / 0.7463 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005718/0.2533, allocations: 0.5015 MB / 0.7467 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/0.2592, allocations: 1.21 MB / 0.7479 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003528/0.2627, allocations: 2.211 MB / 0.7501 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.2629, allocations: 246.4 kB / 0.7503 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000538/0.2635, allocations: 319.8 kB / 0.7506 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008345/0.2718, allocations: 6.212 MB / 0.7567 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.26e-05/0.2719, allocations: 11.88 kB / 0.7567 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/0.2722, allocations: 143.9 kB / 0.7568 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000425/0.2727, allocations: 406.3 kB / 0.7572 GB, free: 1.168 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006463/0.2791, allocations: 4.666 MB / 0.7618 GB, free: 12.49 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.2804/0.5595, allocations: 29.13 MB / 0.7902 GB, free: 71.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.5615, allocations: 1.418 MB / 0.7916 GB, free: 70.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.5633, allocations: 1.483 MB / 0.7931 GB, free: 70.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.5634, allocations: 10.27 kB / 0.7931 GB, free: 70.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.5635, allocations: 53.47 kB / 0.7931 GB, free: 70.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 3.076e-06/0.5635, allocations: 0 / 0.7931 GB, free: 70.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.1401/0.7035, allocations: 37.24 MB / 0.8295 GB, free: 52.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.7036, allocations: 69.41 kB / 0.8295 GB, free: 52.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.7052, allocations: 1.419 MB / 0.8309 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/0.7054, allocations: 53.7 kB / 0.831 GB, free: 50.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005489/0.706, allocations: 1.546 MB / 0.8325 GB, free: 48.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/0.7064, allocations: 0.6119 MB / 0.8331 GB, free: 48.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006383/0.7071, allocations: 383.3 kB / 0.8335 GB, free: 47.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.195e-05/0.7071, allocations: 301.1 kB / 0.8337 GB, free: 47.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.7092, allocations: 1.78 MB / 0.8355 GB, free: 45.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/0.7113, allocations: 2.354 MB / 0.8378 GB, free: 43.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/0.7156, allocations: 4.391 MB / 0.8421 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.7156, allocations: 4 kB / 0.8421 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01528/0.7309, allocations: 8.56 MB / 0.8504 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.731, allocations: 12 kB / 0.8504 GB, free: 30.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.731, allocations: 16 kB / 0.8505 GB, free: 30.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01307/0.744, allocations: 4.677 MB / 0.855 GB, free: 25.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.7451, allocations: 303.4 kB / 0.8553 GB, free: 25.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04072/0.7859, allocations: 32.62 MB / 0.8872 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.7881, allocations: 147.8 kB / 0.8873 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/0.7885, allocations: 87.98 kB / 0.8874 GB, free: 7.383 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.002312/0.7908, allocations: 1.318 MB / 0.8887 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/0.7914, allocations: 201.7 kB / 0.8889 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01834/0.8097, allocations: 8.449 MB / 0.8971 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.8098, allocations: 20.22 kB / 0.8971 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.225e-05/0.8098, allocations: 24 kB / 0.8972 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.114e-05/0.8099, allocations: 11.91 kB / 0.8972 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0262/0.8361, allocations: 12.84 MB / 0.9097 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.8361, allocations: 4 kB / 0.9097 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.8369, allocations: 171.7 kB / 0.9099 GB, free: 168 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01486/0.8517, allocations: 4.509 MB / 0.9143 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/0.852, allocations: 44 kB / 0.9143 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04749/0.8995, allocations: 32.22 MB / 0.9458 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.8996, allocations: 11.94 kB / 0.9458 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/0.9172, allocations: 8.242 MB / 0.9539 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.9187, allocations: 0.6079 MB / 0.9545 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006318/0.9194, allocations: 43.98 kB / 0.9545 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/0.9213, allocations: 131.8 kB / 0.9546 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009401/0.9223, allocations: 180.8 kB / 0.9548 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/0.9225, allocations: 48 kB / 0.9548 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001591/0.9241, allocations: 0.9549 MB / 0.9558 GB, free: 212 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9241, allocations: 0 / 0.9558 GB, free: 212 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003649/0.9278, allocations: 1.121 MB / 0.9569 GB, free: 15.08 MB / 0.6544 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.01761/0.9454, allocations: 8.833 MB / 0.9655 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01425/0.9597, allocations: 7.061 MB / 0.9724 GB, free: 15 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.9597, allocations: 4 kB / 0.9724 GB, free: 15 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009317/0.9691, allocations: 4.373 MB / 0.9767 GB, free: 10.56 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/0.9719, allocations: 0.5218 MB / 0.9772 GB, free: 10.06 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06364/1.036, allocations: 35.22 MB / 1.012 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003881/1.04, allocations: 2.727 MB / 1.014 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001227/1.041, allocations: 382.3 kB / 1.015 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.042, allocations: 1.21 MB / 1.016 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of SimCode: time 1.212e-06/1.042, allocations: 4 kB / 1.016 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3986/1.441, allocations: 82.85 MB / 1.097 GB, free: 229.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.97, allocations: 16.23 kB / 1.097 GB, free: 229.5 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)