Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 179.3 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.358/2.358, allocations: 205.4 MB / 0.5764 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.00117, allocations: 95.84 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.0005089, allocations: 15.88 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9615/1.187, allocations: 179.5 MB / 1.074 GB, free: 65.81 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003741/1.188, allocations: 103 kB / 1.074 GB, free: 65.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.916/3.104, allocations: 320.8 MB / 1.388 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.475e-06/3.104, allocations: 3.562 kB / 1.388 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0007413/3.104, allocations: 168.5 kB / 1.388 GB, free: 153.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03203/3.136, allocations: 6.14 MB / 1.394 GB, free: 151 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/3.137, allocations: 13 kB / 1.394 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005707/3.142, allocations: 0.9027 MB / 1.395 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02311/3.165, allocations: 1.766 MB / 1.396 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02397/3.189, allocations: 5.045 MB / 1.401 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00081/3.19, allocations: 456.5 kB / 1.402 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003994/3.194, allocations: 0.596 MB / 1.402 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.038/3.232, allocations: 9.988 MB / 1.412 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005094/3.233, allocations: 23.44 kB / 1.412 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00327/3.236, allocations: 272.8 kB / 1.412 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006495/3.237, allocations: 381.2 kB / 1.413 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02544/3.262, allocations: 7.831 MB / 1.42 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08959/3.352, allocations: 46.39 MB / 1.466 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008983/3.361, allocations: 4.187 MB / 1.47 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006489/3.362, allocations: 36.59 kB / 1.47 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/3.362, allocations: 67.56 kB / 1.47 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=353): time 6.292e-06/3.362, allocations: 0 / 1.47 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=578): time 0.8887/4.25, allocations: 106.4 MB / 1.574 GB, free: 102 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.619e-05/4.251, allocations: 115.9 kB / 1.574 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004686/4.255, allocations: 2.144 MB / 1.576 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001506/4.257, allocations: 120.9 kB / 1.576 GB, free: 99.96 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00224/4.259, allocations: 2.703 MB / 1.579 GB, free: 97.55 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003136/4.262, allocations: 1.958 MB / 1.581 GB, free: 95.78 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/4.263, allocations: 116 kB / 1.581 GB, free: 95.66 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003765/4.264, allocations: 0.5212 MB / 1.581 GB, free: 95.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009361/4.273, allocations: 3.791 MB / 1.585 GB, free: 91.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01127/4.284, allocations: 4.91 MB / 1.59 GB, free: 87.19 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/4.296, allocations: 4.578 MB / 1.594 GB, free: 83.03 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.82e-05/4.296, allocations: 8 kB / 1.594 GB, free: 83.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06299/4.359, allocations: 15.99 MB / 1.61 GB, free: 70.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/4.359, allocations: 20.56 kB / 1.61 GB, free: 70.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-05/4.359, allocations: 28 kB / 1.61 GB, free: 70.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0447/4.404, allocations: 7.748 MB / 1.617 GB, free: 63.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004508/4.409, allocations: 0.5513 MB / 1.618 GB, free: 63.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1758/4.585, allocations: 70.51 MB / 1.687 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/4.596, allocations: 245 kB / 1.687 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004457/4.601, allocations: 286.8 kB / 1.687 GB, free: 0 / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01199/4.613, allocations: 2.446 MB / 1.69 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002981/4.616, allocations: 466.5 kB / 1.69 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09241/4.708, allocations: 15.9 MB / 1.706 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.268e-05/4.708, allocations: 60 kB / 1.706 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002761/4.709, allocations: 72 kB / 1.706 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001541/4.709, allocations: 31.41 kB / 1.706 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8065/5.515, allocations: 23.97 MB / 1.729 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-05/5.516, allocations: 10.52 kB / 1.729 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/5.519, allocations: 323.9 kB / 1.73 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04168/5.561, allocations: 6.878 MB / 1.736 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001398/5.562, allocations: 104.8 kB / 1.736 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1544/5.717, allocations: 67.36 MB / 1.802 GB, free: 147.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/5.717, allocations: 11.47 kB / 1.802 GB, free: 147.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06699/5.784, allocations: 20.95 MB / 1.823 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004902/5.789, allocations: 1.262 MB / 1.824 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002226/5.791, allocations: 109.4 kB / 1.824 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006769/5.798, allocations: 238.2 kB / 1.824 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00337/5.801, allocations: 0.5202 MB / 1.825 GB, free: 145.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001195/5.802, allocations: 138.4 kB / 1.825 GB, free: 145.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003614/5.806, allocations: 1.621 MB / 1.826 GB, free: 145 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.62e-07/5.806, allocations: 0 / 1.826 GB, free: 145 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01307/5.819, allocations: 2.311 MB / 1.829 GB, free: 145 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06888/5.888, allocations: 23.36 MB / 1.851 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.04084/5.929, allocations: 13.82 MB / 1.865 GB, free: 128 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/5.929, allocations: 3.719 kB / 1.865 GB, free: 128 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.03574/5.965, allocations: 9.056 MB / 1.874 GB, free: 123.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01421/5.979, allocations: 1.112 MB / 1.875 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2326/6.212, allocations: 74.32 MB / 1.947 GB, free: 73.93 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01805/6.23, allocations: 5.017 MB / 1.952 GB, free: 71.32 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.008155/6.238, allocations: 0.7421 MB / 1.953 GB, free: 70.81 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008831/6.247, allocations: 2.596 MB / 1.956 GB, free: 68.4 MB / 0.9011 GB Notification: Performance of SimCode: time 1.703e-06/6.247, allocations: 0 / 1.956 GB, free: 68.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.158/7.405, allocations: 175.7 MB / 2.127 GB, free: 148.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/7.405, allocations: 230.2 kB / 2.127 GB, free: 148.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/15.76, allocations: 1.5 kB / 2.127 GB, free: 148.7 MB / 0.9167 GB