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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001159/0.001159, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.204/1.204, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00189/0.00189, allocations: 286.8 kB / 290.2 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8717/0.8717, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 98.25 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.137, allocations: 86.98 MB / 0.6796 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009938/0.147, allocations: 9.957 MB / 0.6893 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004044/0.1511, allocations: 3.044 MB / 0.6923 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.1514, allocations: 31.81 kB / 0.6923 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.1528, allocations: 0.6302 MB / 0.6929 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009411/0.1537, allocations: 0.6576 MB / 0.6935 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009603/0.1547, allocations: 0.5915 MB / 0.6941 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.1577, allocations: 4.064 MB / 0.6981 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/0.1609, allocations: 2.818 MB / 0.7008 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.1619, allocations: 0.9459 MB / 0.7018 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.1633, allocations: 1.426 MB / 0.7032 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.1635, allocations: 148 kB / 0.7033 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007847/0.1643, allocations: 0.4914 MB / 0.7038 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007259/0.165, allocations: 0.9121 MB / 0.7047 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008117/0.1658, allocations: 0.9372 MB / 0.7056 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.1682, allocations: 3.357 MB / 0.7089 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1682, allocations: 0 / 0.7089 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.72e-07/0.1682, allocations: 0 / 0.7089 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.1682, allocations: 0 / 0.7089 GB, free: 2.988 MB / 0.4981 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.00274/0.171, allocations: 1.944 MB / 0.7108 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.171, allocations: 12.03 kB / 0.7108 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002799/0.1713, allocations: 252.7 kB / 0.711 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00497/0.1763, allocations: 0.8883 MB / 0.7119 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.1778, allocations: 1.114 MB / 0.713 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/0.1779, allocations: 115.3 kB / 0.7131 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.1781, allocations: 148.3 kB / 0.7132 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.1819, allocations: 3.025 MB / 0.7162 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.1819, allocations: 3.938 kB / 0.7162 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.1821, allocations: 63.97 kB / 0.7162 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/0.1823, allocations: 179 kB / 0.7164 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003382/0.1856, allocations: 2.604 MB / 0.719 GB, free: 8.441 MB / 0.5137 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.01296/0.1986, allocations: 13.57 MB / 0.7322 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.2003, allocations: 1.297 MB / 0.7335 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.2016, allocations: 1.047 MB / 0.7345 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/0.2016, allocations: 12.66 kB / 0.7345 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.2017, allocations: 43.2 kB / 0.7345 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.324e-06/0.2017, allocations: 0 / 0.7345 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.0622/0.2639, allocations: 19.38 MB / 0.7535 GB, free: 3.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2639, allocations: 64.72 kB / 0.7535 GB, free: 3.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009995/0.2649, allocations: 0.9222 MB / 0.7544 GB, free: 2.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.2651, allocations: 49.7 kB / 0.7545 GB, free: 2.758 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.2655, allocations: 0.7321 MB / 0.7552 GB, free: 2.012 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.2658, allocations: 485 kB / 0.7557 GB, free: 1.531 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004979/0.2663, allocations: 291.5 kB / 0.7559 GB, free: 1.242 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2664, allocations: 353.9 kB / 0.7563 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.2681, allocations: 1.335 MB / 0.7576 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.2699, allocations: 1.659 MB / 0.7592 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/0.2734, allocations: 3.096 MB / 0.7622 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.2734, allocations: 4 kB / 0.7622 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01/0.2835, allocations: 5.632 MB / 0.7677 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2835, allocations: 15.94 kB / 0.7677 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.2835, allocations: 8 kB / 0.7677 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007793/0.2913, allocations: 2.715 MB / 0.7704 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/0.2919, allocations: 195.7 kB / 0.7706 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2691/0.561, allocations: 23.34 MB / 0.7934 GB, free: 79.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.5629, allocations: 96.16 kB / 0.7935 GB, free: 79.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/0.5632, allocations: 64.02 kB / 0.7935 GB, free: 79.76 MB / 0.5606 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.001355/0.5645, allocations: 0.7264 MB / 0.7942 GB, free: 79.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/0.5649, allocations: 116.2 kB / 0.7944 GB, free: 79.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/0.5803, allocations: 5.394 MB / 0.7996 GB, free: 77.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.5803, allocations: 13.75 kB / 0.7996 GB, free: 77.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.784e-05/0.5804, allocations: 24.64 kB / 0.7997 GB, free: 77.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.5804, allocations: 6.938 kB / 0.7997 GB, free: 77.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.5973, allocations: 8.646 MB / 0.8081 GB, free: 73.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.5973, allocations: 4.125 kB / 0.8081 GB, free: 73.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.5977, allocations: 118.5 kB / 0.8082 GB, free: 73.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006666/0.6044, allocations: 2.548 MB / 0.8107 GB, free: 72.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.305e-05/0.6045, allocations: 23.94 kB / 0.8107 GB, free: 72.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02055/0.625, allocations: 20.88 MB / 0.8311 GB, free: 54.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.625, allocations: 9.109 kB / 0.8311 GB, free: 54.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/0.6328, allocations: 5.119 MB / 0.8361 GB, free: 49.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006259/0.6334, allocations: 479.5 kB / 0.8366 GB, free: 49.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.6336, allocations: 35.98 kB / 0.8366 GB, free: 49.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006946/0.6343, allocations: 71.91 kB / 0.8367 GB, free: 49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000417/0.6347, allocations: 125 kB / 0.8368 GB, free: 48.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/0.6348, allocations: 40 kB / 0.8369 GB, free: 48.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005589/0.6354, allocations: 0.6395 MB / 0.8375 GB, free: 48.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6354, allocations: 0 / 0.8375 GB, free: 48.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001793/0.6372, allocations: 0.7227 MB / 0.8382 GB, free: 47.47 MB / 0.5606 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.007889/0.6451, allocations: 5.724 MB / 0.8438 GB, free: 41.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004884/0.65, allocations: 4.151 MB / 0.8478 GB, free: 37.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.65, allocations: 0 / 0.8478 GB, free: 37.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003534/0.6535, allocations: 2.657 MB / 0.8504 GB, free: 34.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.6546, allocations: 201.5 kB / 0.8506 GB, free: 34.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02664/0.6812, allocations: 22.55 MB / 0.8726 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009123/0.6822, allocations: 1.704 MB / 0.8743 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005782/0.6828, allocations: 333.9 kB / 0.8746 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.6832, allocations: 0.5344 MB / 0.8751 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.6832, allocations: 0 / 0.8751 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.084/4.768, allocations: 50.45 MB / 0.9244 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/4.768, allocations: 272.2 kB / 0.9247 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/6.978, allocations: 6.391 kB / 0.9247 GB, free: 6.473 MB / 0.6075 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)