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.0008053/0.0008055, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005563/0.005564, allocations: 171.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 222.4 MB, free: 5.797 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 1.641/1.641, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005233/0.0005233, allocations: 13.19 kB / 0.6744 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2402, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01089/0.2511, allocations: 9.536 MB / 0.7973 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005408/0.2565, allocations: 3.058 MB / 0.8003 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008837/0.2574, allocations: 31.81 kB / 0.8003 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006541/0.2581, allocations: 178.7 kB / 0.8005 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.2599, allocations: 0.6615 MB / 0.8012 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.2614, allocations: 0.5412 MB / 0.8017 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004006/0.2654, allocations: 4.072 MB / 0.8057 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004563/0.27, allocations: 3.114 MB / 0.8087 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.2716, allocations: 0.8366 MB / 0.8095 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.2739, allocations: 1.277 MB / 0.8108 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004707/0.2743, allocations: 108 kB / 0.8109 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.2757, allocations: 439.3 kB / 0.8113 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.2769, allocations: 0.8496 MB / 0.8121 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.2785, allocations: 0.8764 MB / 0.813 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003563/0.2821, allocations: 3.255 MB / 0.8162 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2821, allocations: 0 / 0.8162 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2821, allocations: 0 / 0.8162 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.534e-05/0.2822, allocations: 0 / 0.8162 GB, free: 14.52 MB / 0.6387 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.003727/0.286, allocations: 1.604 MB / 0.8177 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.286, allocations: 8.031 kB / 0.8177 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007576/0.2868, allocations: 260.7 kB / 0.818 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005904/0.2927, allocations: 0.8805 MB / 0.8188 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.2949, allocations: 1.122 MB / 0.8199 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.776e-05/0.295, allocations: 107.3 kB / 0.82 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005143/0.2955, allocations: 140.4 kB / 0.8202 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005658/0.3012, allocations: 3.021 MB / 0.8231 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.582e-05/0.3012, allocations: 4 kB / 0.8231 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/0.3015, allocations: 63.92 kB / 0.8232 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002238/0.3017, allocations: 183 kB / 0.8234 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004471/0.3062, allocations: 2.604 MB / 0.8259 GB, free: 4.316 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.01562/0.3218, allocations: 13.53 MB / 0.8391 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.3238, allocations: 1.295 MB / 0.8404 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.3252, allocations: 1.05 MB / 0.8414 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.3253, allocations: 16.58 kB / 0.8414 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3253, allocations: 47.2 kB / 0.8415 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.204e-06/0.3253, allocations: 0 / 0.8415 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.07144/0.3968, allocations: 19.46 MB / 0.8605 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3969, allocations: 64.72 kB / 0.8605 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.398, allocations: 0.9222 MB / 0.8614 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.3981, allocations: 45.7 kB / 0.8615 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.3986, allocations: 0.7322 MB / 0.8622 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.399, allocations: 489 kB / 0.8627 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.3992, allocations: 121.7 kB / 0.8628 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3993, allocations: 353.9 kB / 0.8631 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.4011, allocations: 1.339 MB / 0.8644 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.403, allocations: 1.651 MB / 0.866 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003821/0.4068, allocations: 3.089 MB / 0.8691 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.4068, allocations: 4 kB / 0.8691 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0113/0.4181, allocations: 5.645 MB / 0.8746 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.4182, allocations: 11.94 kB / 0.8746 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.4182, allocations: 12.03 kB / 0.8746 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008487/0.4267, allocations: 2.711 MB / 0.8772 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/0.4276, allocations: 195.6 kB / 0.8774 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0321/0.4598, allocations: 23.33 MB / 0.9002 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.4614, allocations: 99.94 kB / 0.9003 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.4616, allocations: 56 kB / 0.9004 GB, free: 5.918 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 (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.001228/0.4628, allocations: 0.7321 MB / 0.9011 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.463, allocations: 118.6 kB / 0.9012 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.474, allocations: 5.396 MB / 0.9065 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.4741, allocations: 16 kB / 0.9065 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.462e-05/0.4741, allocations: 20 kB / 0.9065 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.4741, allocations: 11.97 kB / 0.9065 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.4893, allocations: 8.609 MB / 0.9149 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.4893, allocations: 4 kB / 0.9149 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.4898, allocations: 127.7 kB / 0.915 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008206/0.498, allocations: 2.542 MB / 0.9175 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/0.4982, allocations: 24 kB / 0.9175 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4797/0.9779, allocations: 20.86 MB / 0.9379 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9779, allocations: 3.25 kB / 0.9379 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/0.9897, allocations: 5.128 MB / 0.9429 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.9908, allocations: 487.8 kB / 0.9434 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.991, allocations: 29.62 kB / 0.9434 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/0.992, allocations: 78.41 kB / 0.9435 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006929/0.9927, allocations: 120.6 kB / 0.9436 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.9928, allocations: 41.19 kB / 0.9436 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008965/0.9937, allocations: 0.645 MB / 0.9443 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9937, allocations: 0 / 0.9443 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002616/0.9963, allocations: 0.7218 MB / 0.945 GB, free: 118.5 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 (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.01059/1.007, allocations: 5.711 MB / 0.9506 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006814/1.014, allocations: 4.157 MB / 0.9546 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.014, allocations: 1.75 kB / 0.9546 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004792/1.019, allocations: 2.66 MB / 0.9572 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/1.02, allocations: 218.2 kB / 0.9574 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03051/1.051, allocations: 22.56 MB / 0.9795 GB, free: 96.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/1.052, allocations: 1.7 MB / 0.9811 GB, free: 95.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007303/1.053, allocations: 326 kB / 0.9814 GB, free: 94.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/1.054, allocations: 0.5344 MB / 0.9819 GB, free: 94.41 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/1.054, allocations: 0 / 0.9819 GB, free: 94.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05864/1.112, allocations: 48.83 MB / 1.03 GB, free: 45.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/1.112, allocations: 255.1 kB / 1.03 GB, free: 45.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.399, allocations: 2.875 kB / 1.03 GB, free: 45.71 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/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)