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.005306/0.005306, allocations: 97.27 kB / 15.73 MB, free: 5.602 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.001344/0.001344, allocations: 193.2 kB / 16.68 MB, free: 5.523 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002489/0.002489, allocations: 293.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.186/1.186, allocations: 178.5 MB / 0.5074 GB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 103.8 kB / 0.6943 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.411, allocations: 89.11 MB / 0.7814 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02584/0.4369, allocations: 22.58 MB / 0.8034 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.449, allocations: 6.225 MB / 0.8095 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.4514, allocations: 91.72 kB / 0.8096 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004515/0.456, allocations: 1.543 MB / 0.8111 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.4608, allocations: 1.63 MB / 0.8127 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003548/0.4644, allocations: 1.351 MB / 0.814 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007715/0.4721, allocations: 5.939 MB / 0.8198 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007581/0.4797, allocations: 6.045 MB / 0.8257 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/0.4834, allocations: 2.415 MB / 0.8281 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004184/0.4876, allocations: 2.866 MB / 0.8309 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007339/0.4884, allocations: 456 kB / 0.8313 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.4908, allocations: 1.104 MB / 0.8324 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002104/0.4929, allocations: 2.031 MB / 0.8343 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.4954, allocations: 2.167 MB / 0.8365 GB, free: 72 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007607/0.503, allocations: 7.31 MB / 0.8436 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.503, allocations: 0 / 0.8436 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.503, allocations: 0 / 0.8436 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001343/0.5031, allocations: 0 / 0.8436 GB, free: 8.742 MB / 0.6075 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.007331/0.5105, allocations: 3.923 MB / 0.8474 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.5105, allocations: 8.031 kB / 0.8474 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006819/0.5112, allocations: 0.5054 MB / 0.8479 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005893/0.5171, allocations: 1.231 MB / 0.8491 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004764/0.5219, allocations: 2.349 MB / 0.8514 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.5221, allocations: 242.4 kB / 0.8517 GB, free: 360 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006433/0.5228, allocations: 311.9 kB / 0.852 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00999/0.5328, allocations: 6.212 MB / 0.858 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.588e-05/0.5329, allocations: 23.77 kB / 0.858 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.5333, allocations: 140 kB / 0.8582 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005018/0.5338, allocations: 402.3 kB / 0.8586 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00788/0.5416, allocations: 4.658 MB / 0.8631 GB, free: 4.352 MB / 0.6231 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.03283/0.5745, allocations: 29 MB / 0.8914 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.5767, allocations: 1.418 MB / 0.8928 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.5788, allocations: 1.491 MB / 0.8943 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.5789, allocations: 13 kB / 0.8943 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.579, allocations: 47.5 kB / 0.8943 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.326e-06/0.579, allocations: 0 / 0.8943 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179): time 0.1515/0.7305, allocations: 37.29 MB / 0.9308 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.7305, allocations: 73.34 kB / 0.9308 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.7327, allocations: 1.419 MB / 0.9322 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002711/0.733, allocations: 57.7 kB / 0.9323 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.7342, allocations: 1.583 MB / 0.9338 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007906/0.7351, allocations: 0.639 MB / 0.9344 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008944/0.736, allocations: 387.5 kB / 0.9348 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7361, allocations: 305.1 kB / 0.9351 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00279/0.7389, allocations: 1.788 MB / 0.9368 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.7421, allocations: 2.346 MB / 0.9391 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006289/0.7484, allocations: 4.387 MB / 0.9434 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.7485, allocations: 8 kB / 0.9434 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01923/0.7677, allocations: 8.584 MB / 0.9518 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.7678, allocations: 12 kB / 0.9518 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.7678, allocations: 20 kB / 0.9518 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01603/0.7839, allocations: 4.628 MB / 0.9564 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.7851, allocations: 307.4 kB / 0.9566 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3741/1.159, allocations: 32.62 MB / 0.9885 GB, free: 180.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/1.162, allocations: 151.5 kB / 0.9887 GB, free: 180.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/1.162, allocations: 82.39 kB / 0.9887 GB, free: 180.9 MB / 0.7481 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.00251/1.164, allocations: 1.33 MB / 0.99 GB, free: 180.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004954/1.165, allocations: 206.5 kB / 0.9902 GB, free: 180.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01839/1.183, allocations: 8.443 MB / 0.9985 GB, free: 179.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.161e-05/1.183, allocations: 17.62 kB / 0.9985 GB, free: 179.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001164/1.183, allocations: 25.34 kB / 0.9985 GB, free: 179.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-05/1.183, allocations: 8.188 kB / 0.9985 GB, free: 179.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0229/1.206, allocations: 12.84 MB / 1.011 GB, free: 175.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/1.206, allocations: 5.5 kB / 1.011 GB, free: 175.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006722/1.207, allocations: 166.4 kB / 1.011 GB, free: 175.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01366/1.221, allocations: 4.491 MB / 1.016 GB, free: 173.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/1.221, allocations: 36.62 kB / 1.016 GB, free: 173.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03738/1.258, allocations: 32.24 MB / 1.047 GB, free: 148.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.258, allocations: 8 kB / 1.047 GB, free: 148.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/1.273, allocations: 8.249 MB / 1.055 GB, free: 140.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.274, allocations: 0.632 MB / 1.056 GB, free: 139.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/1.275, allocations: 40 kB / 1.056 GB, free: 139.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/1.276, allocations: 135.8 kB / 1.056 GB, free: 139.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008659/1.277, allocations: 168.9 kB / 1.056 GB, free: 139.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.277, allocations: 52 kB / 1.056 GB, free: 139.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001069/1.278, allocations: 0.9627 MB / 1.057 GB, free: 138.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.278, allocations: 0 / 1.057 GB, free: 138.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002954/1.281, allocations: 1.113 MB / 1.058 GB, free: 137.2 MB / 0.7481 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.01416/1.295, allocations: 8.845 MB / 1.067 GB, free: 128.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.306, allocations: 6.553 MB / 1.073 GB, free: 121.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.306, allocations: 0 / 1.073 GB, free: 121.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00764/1.314, allocations: 4.373 MB / 1.078 GB, free: 117.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/1.316, allocations: 0.5308 MB / 1.078 GB, free: 116.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04957/1.366, allocations: 33.72 MB / 1.111 GB, free: 82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/1.368, allocations: 2.731 MB / 1.114 GB, free: 79.24 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000926/1.369, allocations: 388.5 kB / 1.114 GB, free: 78.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009518/1.37, allocations: 1.214 MB / 1.115 GB, free: 77.64 MB / 0.7481 GB Notification: Performance of SimCode: time 8.02e-07/1.37, allocations: 3.938 kB / 1.115 GB, free: 77.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/1.5, allocations: 83.94 MB / 1.197 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.61, allocations: 11.67 kB / 1.197 GB, free: 10.25 MB / 0.7637 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)