Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.489/2.489, allocations: 284.9 MB / 292.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 172.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.3 MB / 0.6191 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 95.25 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.405e-05, allocations: 4 kB / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8101/0.8101, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2794/1.09, allocations: 166 MB / 1.126 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/1.09, allocations: 94.7 kB / 1.126 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2618/1.352, allocations: 60.12 MB / 1.184 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.645e-06/1.352, allocations: 0 / 1.184 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001584/1.352, allocations: 36 kB / 1.184 GB, free: 9.859 MB / 0.7917 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.006479/1.359, allocations: 1.516 MB / 1.186 GB, free: 8.293 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/1.359, allocations: 12.03 kB / 1.186 GB, free: 8.281 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005138/1.364, allocations: 465.4 kB / 1.186 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/1.368, allocations: 1.141 MB / 1.187 GB, free: 6.637 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/1.368, allocations: 44 kB / 1.187 GB, free: 6.594 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008103/1.369, allocations: 88 kB / 1.188 GB, free: 6.508 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006496/1.376, allocations: 1.962 MB / 1.189 GB, free: 4.543 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008696/1.384, allocations: 2.539 MB / 1.192 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.666e-05/1.384, allocations: 0 / 1.192 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/1.385, allocations: 8 kB / 1.192 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008249/1.386, allocations: 154.9 kB / 1.192 GB, free: 1.719 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or 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.03279/1.418, allocations: 13.76 MB / 1.206 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003519/1.422, allocations: 1.29 MB / 1.207 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/1.425, allocations: 1.082 MB / 1.208 GB, free: 0.4961 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/1.425, allocations: 12.77 kB / 1.208 GB, free: 496 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/1.425, allocations: 39.34 kB / 1.208 GB, free: 448 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 4.088e-06/1.425, allocations: 3.938 kB / 1.208 GB, free: 444 kB / 0.8073 GB Notification: Performance of matching and sorting (n=139): time 0.04693/1.472, allocations: 9.012 MB / 1.217 GB, free: 7.406 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/1.472, allocations: 64.72 kB / 1.217 GB, free: 7.328 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/1.474, allocations: 0.8784 MB / 1.218 GB, free: 6.445 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003205/1.474, allocations: 25.7 kB / 1.218 GB, free: 6.414 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007252/1.475, allocations: 0.7205 MB / 1.218 GB, free: 5.68 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000695/1.476, allocations: 473 kB / 1.219 GB, free: 5.211 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.476, allocations: 0 / 1.219 GB, free: 5.211 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003522/1.476, allocations: 418.7 kB / 1.219 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/1.48, allocations: 1.425 MB / 1.221 GB, free: 3.367 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003644/1.483, allocations: 1.71 MB / 1.222 GB, free: 1.551 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007271/1.491, allocations: 2.003 MB / 1.224 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/1.491, allocations: 4 kB / 1.224 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.02093/1.512, allocations: 5.568 MB / 1.23 GB, free: 9.945 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/1.512, allocations: 8 kB / 1.23 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.512, allocations: 8 kB / 1.23 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01469/1.526, allocations: 2.696 MB / 1.232 GB, free: 7.223 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/1.528, allocations: 217.9 kB / 1.233 GB, free: 7.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03868/1.567, allocations: 15.19 MB / 1.247 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/1.57, allocations: 71.77 kB / 1.247 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007595/1.571, allocations: 167.9 kB / 1.248 GB, free: 7.301 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0006141/1.571, allocations: 134.6 kB / 1.248 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01836/1.59, allocations: 4.792 MB / 1.252 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008338/1.59, allocations: 114.6 kB / 1.252 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6825/2.273, allocations: 5.037 MB / 1.257 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/2.273, allocations: 14.84 kB / 1.257 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.572e-05/2.273, allocations: 8.344 kB / 1.257 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.142e-05/2.273, allocations: 12.25 kB / 1.257 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02676/2.3, allocations: 8.156 MB / 1.265 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/2.3, allocations: 6.156 kB / 1.265 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009603/2.301, allocations: 120.2 kB / 1.266 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01361/2.315, allocations: 2.523 MB / 1.268 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004474/2.315, allocations: 39.09 kB / 1.268 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03224/2.347, allocations: 12.82 MB / 1.281 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/2.347, allocations: 4.562 kB / 1.281 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/2.365, allocations: 4.949 MB / 1.285 GB, free: 213 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/2.367, allocations: 0.5968 MB / 1.286 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005246/2.368, allocations: 10.23 kB / 1.286 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/2.37, allocations: 52.66 kB / 1.286 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007857/2.371, allocations: 136.5 kB / 1.286 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004668/2.371, allocations: 111.1 kB / 1.286 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001571/2.373, allocations: 0.6707 MB / 1.287 GB, free: 212.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.51e-07/2.373, allocations: 1.219 kB / 1.287 GB, free: 212.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003764/2.376, allocations: 0.5229 MB / 1.287 GB, free: 212.4 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.01902/2.395, allocations: 6.665 MB / 1.294 GB, free: 209 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01213/2.408, allocations: 3.906 MB / 1.298 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/2.408, allocations: 0 / 1.298 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01433/2.422, allocations: 2.289 MB / 1.3 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/2.425, allocations: 154 kB / 1.3 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/2.443, allocations: 3.681 MB / 1.304 GB, free: 205.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004261/2.447, allocations: 1.702 MB / 1.305 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002049/2.449, allocations: 404 kB / 1.306 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/2.451, allocations: 0.548 MB / 1.306 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.593e-06/2.451, allocations: 0 / 1.306 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1341/2.585, allocations: 50.54 MB / 1.356 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/2.585, allocations: 168.1 kB / 1.356 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.648/6.234, allocations: 0 / 1.356 GB, free: 189.4 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)