Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.00146/0.00146, allocations: 101.4 kB / 15.69 MB, free: 140 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 196.8 kB / 16.63 MB, free: 6.621 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.481/1.481, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.68/1.68, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.002544/0.002544, allocations: 69.62 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2677, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01362/0.2814, allocations: 10.1 MB / 0.7935 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006453/0.2879, allocations: 3.221 MB / 0.7966 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.289, allocations: 35.81 kB / 0.7967 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.2911, allocations: 0.5978 MB / 0.7973 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.2934, allocations: 0.7427 MB / 0.798 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.2953, allocations: 0.733 MB / 0.7987 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003776/0.2991, allocations: 2.996 MB / 0.8016 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003632/0.3028, allocations: 2.587 MB / 0.8042 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.3053, allocations: 1.258 MB / 0.8054 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003039/0.3083, allocations: 1.55 MB / 0.8069 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009885/0.3094, allocations: 239.9 kB / 0.8071 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.3111, allocations: 0.4993 MB / 0.8076 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.3126, allocations: 1.064 MB / 0.8086 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.3141, allocations: 1.12 MB / 0.8097 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003999/0.3181, allocations: 3.685 MB / 0.8133 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3181, allocations: 0 / 0.8133 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3181, allocations: 4 kB / 0.8133 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.022e-05/0.3182, allocations: 0 / 0.8133 GB, free: 14.68 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004687/0.3229, allocations: 2.15 MB / 0.8154 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.323, allocations: 12.03 kB / 0.8155 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003838/0.3234, allocations: 261.2 kB / 0.8157 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008738/0.3321, allocations: 1.309 MB / 0.817 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.3348, allocations: 1.298 MB / 0.8183 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.3e-05/0.3349, allocations: 111.4 kB / 0.8184 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.3353, allocations: 148.3 kB / 0.8185 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005503/0.3408, allocations: 3.437 MB / 0.8219 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.3408, allocations: 11.84 kB / 0.8219 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.341, allocations: 63.97 kB / 0.8219 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002396/0.3413, allocations: 207.1 kB / 0.8221 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004918/0.3462, allocations: 3.12 MB / 0.8252 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01782/0.364, allocations: 13.56 MB / 0.8384 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.3665, allocations: 1.73 MB / 0.8401 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/0.3685, allocations: 1.444 MB / 0.8415 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-05/0.3686, allocations: 9 kB / 0.8415 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.3686, allocations: 43.56 kB / 0.8416 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 2.585e-06/0.3686, allocations: 0 / 0.8416 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.1502/0.5189, allocations: 36.68 MB / 0.8774 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.519, allocations: 73.41 kB / 0.8774 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.5207, allocations: 1.053 MB / 0.8785 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005423/0.5213, allocations: 57.7 kB / 0.8785 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/0.5219, allocations: 0.7796 MB / 0.8793 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.523, allocations: 0.6316 MB / 0.8799 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.5243, allocations: 363.3 kB / 0.8803 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5245, allocations: 305.1 kB / 0.8805 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/0.5274, allocations: 1.928 MB / 0.8824 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/0.5306, allocations: 2.281 MB / 0.8847 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005852/0.5364, allocations: 4.395 MB / 0.889 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.5365, allocations: 4 kB / 0.889 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02026/0.5568, allocations: 9.019 MB / 0.8978 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.5568, allocations: 8 kB / 0.8978 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.5569, allocations: 12.66 kB / 0.8978 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01701/0.5739, allocations: 4.979 MB / 0.9026 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009818/0.5749, allocations: 191.7 kB / 0.9028 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5102/1.085, allocations: 38.89 MB / 0.9408 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/1.087, allocations: 100.3 kB / 0.9409 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/1.088, allocations: 68.55 kB / 0.941 GB, free: 117.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00153/1.089, allocations: 0.8005 MB / 0.9417 GB, free: 117.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004236/1.089, allocations: 145.6 kB / 0.9419 GB, free: 117.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02031/1.11, allocations: 8.891 MB / 0.9506 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-05/1.11, allocations: 21.53 kB / 0.9506 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001236/1.11, allocations: 34.53 kB / 0.9506 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.913e-05/1.11, allocations: 10.25 kB / 0.9506 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02768/1.138, allocations: 13.27 MB / 0.9636 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/1.138, allocations: 3.875 kB / 0.9636 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/1.138, allocations: 120.8 kB / 0.9637 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01534/1.154, allocations: 4.749 MB / 0.9684 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004076/1.154, allocations: 43.58 kB / 0.9684 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04375/1.198, allocations: 34.83 MB / 1.002 GB, free: 73.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.198, allocations: 7.938 kB / 1.002 GB, free: 73.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.215, allocations: 8.397 MB / 1.011 GB, free: 65.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.216, allocations: 0.6175 MB / 1.011 GB, free: 64.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005928/1.217, allocations: 39.94 kB / 1.011 GB, free: 64.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/1.219, allocations: 87.89 kB / 1.011 GB, free: 64.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009207/1.22, allocations: 162.9 kB / 1.011 GB, free: 64.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/1.22, allocations: 48 kB / 1.012 GB, free: 64.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001045/1.221, allocations: 0.7421 MB / 1.012 GB, free: 63.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.2e-07/1.221, allocations: 0 / 1.012 GB, free: 63.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003681/1.224, allocations: 1.004 MB / 1.013 GB, free: 62.6 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01659/1.241, allocations: 8.995 MB / 1.022 GB, free: 53.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008267/1.249, allocations: 5.867 MB / 1.028 GB, free: 47.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.249, allocations: 4 kB / 1.028 GB, free: 47.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006571/1.256, allocations: 3.829 MB / 1.032 GB, free: 43.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/1.258, allocations: 243 kB / 1.032 GB, free: 43.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05204/1.31, allocations: 30.89 MB / 1.062 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/1.312, allocations: 1.863 MB / 1.064 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008832/1.313, allocations: 355.4 kB / 1.064 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/1.314, allocations: 0.6047 MB / 1.065 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of SimCode: time 1.323e-06/1.314, allocations: 3.938 kB / 1.065 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/1.443, allocations: 74.19 MB / 1.137 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/13.29, allocations: 11.67 kB / 1.137 GB, free: 15.43 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)