Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001451, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002156/0.002156, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.038/2.038, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007352/0.0007356, allocations: 15.47 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3074, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01289/0.3203, allocations: 8.755 MB / 0.7958 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006884/0.3272, allocations: 2.942 MB / 0.7987 GB, free: 120 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.3284, allocations: 27.81 kB / 0.7987 GB, free: 92 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000779/0.3292, allocations: 178.9 kB / 0.7989 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.3311, allocations: 478.5 kB / 0.7993 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.333, allocations: 434.9 kB / 0.7997 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003291/0.3363, allocations: 1.309 MB / 0.801 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005721/0.342, allocations: 2.679 MB / 0.8036 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.3442, allocations: 0.7243 MB / 0.8043 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/0.3464, allocations: 0.8725 MB / 0.8052 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.3467, allocations: 100 kB / 0.8053 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000826/0.3475, allocations: 219.8 kB / 0.8055 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009652/0.3485, allocations: 0.7717 MB / 0.8062 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.3491, allocations: 356.9 kB / 0.8066 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003287/0.3524, allocations: 2.755 MB / 0.8093 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3524, allocations: 4 kB / 0.8093 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3524, allocations: 0 / 0.8093 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.571e-05/0.3525, allocations: 0 / 0.8093 GB, free: 5.184 MB / 0.6231 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.004169/0.3566, allocations: 1.608 MB / 0.8108 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.3567, allocations: 8.031 kB / 0.8109 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004604/0.3572, allocations: 256.5 kB / 0.8111 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008083/0.3653, allocations: 0.9498 MB / 0.812 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/0.3685, allocations: 1.098 MB / 0.8131 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.3686, allocations: 110.9 kB / 0.8132 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.369, allocations: 140 kB / 0.8133 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006525/0.3755, allocations: 2.99 MB / 0.8163 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.003e-05/0.3756, allocations: 15.84 kB / 0.8163 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.3759, allocations: 59.98 kB / 0.8163 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003226/0.3762, allocations: 175 kB / 0.8165 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006305/0.3825, allocations: 2.6 MB / 0.819 GB, free: 10.96 MB / 0.6387 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.02551/0.4081, allocations: 13.52 MB / 0.8322 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/0.411, allocations: 1.299 MB / 0.8335 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.4111, allocations: 12.64 kB / 0.8335 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.4112, allocations: 47.2 kB / 0.8336 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.327e-06/0.4112, allocations: 0 / 0.8336 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.1324/0.5436, allocations: 19.43 MB / 0.8525 GB, free: 7.395 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.459e-05/0.5438, allocations: 68.72 kB / 0.8526 GB, free: 7.316 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/0.5465, allocations: 0.9067 MB / 0.8535 GB, free: 6.398 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006248/0.5472, allocations: 45.7 kB / 0.8535 GB, free: 6.348 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.5483, allocations: 0.736 MB / 0.8543 GB, free: 5.598 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/0.5498, allocations: 485 kB / 0.8547 GB, free: 5.117 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.5501, allocations: 32 kB / 0.8547 GB, free: 5.086 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.004693/0.5548, allocations: 418.7 kB / 0.8551 GB, free: 4.668 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005728/0.5607, allocations: 1.331 MB / 0.8564 GB, free: 3.336 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005858/0.5667, allocations: 1.647 MB / 0.8581 GB, free: 1.574 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004869/0.5717, allocations: 1.552 MB / 0.8596 GB, free: 20 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-05/0.5718, allocations: 0 / 0.8596 GB, free: 20 kB / 0.67 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.02561/0.5974, allocations: 5.629 MB / 0.8651 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.5977, allocations: 10.97 kB / 0.8651 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.044e-05/0.5978, allocations: 16.03 kB / 0.8651 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/0.6151, allocations: 2.711 MB / 0.8677 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.617, allocations: 191.7 kB / 0.8679 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07779/0.6949, allocations: 24.33 MB / 0.8917 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/0.6979, allocations: 99.94 kB / 0.8918 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003452/0.6983, allocations: 55.94 kB / 0.8918 GB, free: 14.4 MB / 0.7169 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 (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: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002366/0.7007, allocations: 0.7315 MB / 0.8925 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004802/0.7012, allocations: 118.6 kB / 0.8927 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02159/0.7228, allocations: 5.377 MB / 0.8979 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.63e-05/0.7229, allocations: 12 kB / 0.8979 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-05/0.723, allocations: 20 kB / 0.8979 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.156e-05/0.7231, allocations: 11.94 kB / 0.898 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02939/0.7525, allocations: 8.594 MB / 0.9063 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.933e-05/0.7526, allocations: 8.359 kB / 0.9064 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009938/0.7536, allocations: 119.8 kB / 0.9065 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01845/0.772, allocations: 2.552 MB / 0.909 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005025/0.7726, allocations: 32 kB / 0.909 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6748/1.447, allocations: 21.76 MB / 0.9302 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/1.448, allocations: 9.344 kB / 0.9303 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/1.464, allocations: 5.29 MB / 0.9354 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/1.465, allocations: 481.8 kB / 0.9359 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/1.466, allocations: 27.81 kB / 0.9359 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.467, allocations: 80.72 kB / 0.936 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008496/1.468, allocations: 120 kB / 0.9361 GB, free: 122 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/1.468, allocations: 39.25 kB / 0.9361 GB, free: 122 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001322/1.47, allocations: 0.6394 MB / 0.9368 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/1.47, allocations: 0 / 0.9368 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004152/1.474, allocations: 0.7204 MB / 0.9375 GB, free: 121.7 MB / 0.7325 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 (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: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01317/1.487, allocations: 6.9 MB / 0.9442 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00718/1.494, allocations: 4.145 MB / 0.9482 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.494, allocations: 4.5 kB / 0.9483 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005171/1.499, allocations: 2.657 MB / 0.9508 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/1.501, allocations: 183.3 kB / 0.951 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/1.529, allocations: 20.13 MB / 0.9707 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/1.531, allocations: 1.727 MB / 0.9724 GB, free: 101.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008661/1.532, allocations: 325.4 kB / 0.9727 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/1.532, allocations: 0.5403 MB / 0.9732 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.994e-06/1.532, allocations: 0 / 0.9732 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/1.671, allocations: 48.85 MB / 1.021 GB, free: 54.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006207/1.671, allocations: 239.6 kB / 1.021 GB, free: 54.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/4.677, allocations: 4 kB / 1.021 GB, free: 54.34 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) Environment - environmentSimulation: