Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.059/2.059, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001789/0.001789, allocations: 181.5 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.1 MB / 0.6354 GB, free: 9.781 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.001006/0.001006, allocations: 98.88 kB / 0.748 GB, free: 61.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2845, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.008055/0.2926, allocations: 4.397 MB / 0.9865 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006456/0.2991, allocations: 3.254 MB / 0.9897 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007057/0.2999, allocations: 11.94 kB / 0.9897 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.302, allocations: 490.2 kB / 0.9902 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.3035, allocations: 356.9 kB / 0.9905 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008155/0.3043, allocations: 223.6 kB / 0.9907 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.3056, allocations: 0.7984 MB / 0.9915 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008683/0.3065, allocations: 0.4974 MB / 0.992 GB, free: 348 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005813/0.3071, allocations: 243.1 kB / 0.9922 GB, free: 104 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.3076, allocations: 279 kB / 0.9925 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/0.3078, allocations: 27.94 kB / 0.9925 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006989/0.3085, allocations: 331.4 kB / 0.9928 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.3087, allocations: 139.6 kB / 0.993 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.3091, allocations: 214.8 kB / 0.9932 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.3104, allocations: 0.7634 MB / 0.9939 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3105, allocations: 0 / 0.9939 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3105, allocations: 0 / 0.9939 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.874e-05/0.3105, allocations: 0 / 0.9939 GB, free: 14.36 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00236/0.3129, allocations: 0.7753 MB / 0.9947 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.3129, allocations: 8.031 kB / 0.9947 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/0.3159, allocations: 0.6594 MB / 0.9953 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/0.3169, allocations: 439.8 kB / 0.9958 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.317, allocations: 24.97 kB / 0.9958 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3171, allocations: 32.12 kB / 0.9958 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.3189, allocations: 0.7747 MB / 0.9966 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.3189, allocations: 4 kB / 0.9966 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.319, allocations: 12 kB / 0.9966 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.3191, allocations: 40.61 kB / 0.9966 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.3212, allocations: 0.8569 MB / 0.9975 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004406/0.3256, allocations: 2.796 MB / 1 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.3274, allocations: 0.5136 MB / 1.001 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.3281, allocations: 256.5 kB / 1.001 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.3282, allocations: 85.09 kB / 1.001 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3283, allocations: 38.56 kB / 1.001 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 4.319e-06/0.3283, allocations: 0 / 1.001 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.01161/0.3399, allocations: 2.961 MB / 1.004 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.34, allocations: 55.41 kB / 1.004 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007837/0.3408, allocations: 405.6 kB / 1.004 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.38e-05/0.3409, allocations: 33.7 kB / 1.004 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.3412, allocations: 231.9 kB / 1.005 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.3414, allocations: 82.75 kB / 1.005 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.3416, allocations: 69.59 kB / 1.005 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002296/0.3418, allocations: 346.8 kB / 1.005 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009656/0.3428, allocations: 352.4 kB / 1.005 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009612/0.3438, allocations: 416.5 kB / 1.006 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.3457, allocations: 0.7348 MB / 1.007 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3458, allocations: 0 / 1.007 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005228/0.351, allocations: 1.467 MB / 1.008 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3511, allocations: 4 kB / 1.008 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3511, allocations: 4 kB / 1.008 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003678/0.3548, allocations: 0.7741 MB / 1.009 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.3555, allocations: 127.8 kB / 1.009 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007638/0.3631, allocations: 4.503 MB / 1.013 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009253/0.3641, allocations: 111.9 kB / 1.013 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/0.3642, allocations: 19.98 kB / 1.013 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001345/0.3656, allocations: 0.5154 MB / 1.014 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001021/0.3666, allocations: 400.9 kB / 1.014 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001848/0.3685, allocations: 0.714 MB / 1.015 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/0.3685, allocations: 7.984 kB / 1.015 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004363/0.3729, allocations: 1.243 MB / 1.016 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.3729, allocations: 8 kB / 1.016 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3729, allocations: 4 kB / 1.016 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/0.3753, allocations: 0.4925 MB / 1.017 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.376, allocations: 135.8 kB / 1.017 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.3799, allocations: 2.404 MB / 1.019 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007861/0.3807, allocations: 115.9 kB / 1.019 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.3807, allocations: 11.98 kB / 1.019 GB, free: 3.352 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.381, allocations: 200.1 kB / 1.019 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.3811, allocations: 35.53 kB / 1.02 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/0.3858, allocations: 1.345 MB / 1.021 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3858, allocations: 4 kB / 1.021 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3858, allocations: 3.938 kB / 1.021 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3859, allocations: 0 / 1.021 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5555/0.9414, allocations: 1.985 MB / 1.023 GB, free: 98.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.9414, allocations: 7.516 kB / 1.023 GB, free: 98.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.9419, allocations: 81.84 kB / 1.023 GB, free: 98.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/0.945, allocations: 0.7008 MB / 1.024 GB, free: 98.08 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.9451, allocations: 7.844 kB / 1.024 GB, free: 98.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005058/0.9502, allocations: 4.333 MB / 1.028 GB, free: 95.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9502, allocations: 0.5625 kB / 1.028 GB, free: 95.6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/0.9555, allocations: 2.348 MB / 1.03 GB, free: 94.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.9558, allocations: 161.5 kB / 1.03 GB, free: 94.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.9559, allocations: 9.562 kB / 1.03 GB, free: 94.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.9565, allocations: 87.42 kB / 1.03 GB, free: 94.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.9566, allocations: 21.78 kB / 1.03 GB, free: 94.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.9567, allocations: 11.27 kB / 1.03 GB, free: 94.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003371/0.957, allocations: 303.4 kB / 1.031 GB, free: 94.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.957, allocations: 2.906 kB / 1.031 GB, free: 94.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00107/0.9581, allocations: 196.6 kB / 1.031 GB, free: 94.68 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002089/0.9583, allocations: 105 kB / 1.031 GB, free: 94.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003529/0.9618, allocations: 1.531 MB / 1.032 GB, free: 94.26 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.9619, allocations: 0.8438 kB / 1.032 GB, free: 94.26 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.963, allocations: 0.6211 MB / 1.033 GB, free: 94.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.9638, allocations: 120 kB / 1.033 GB, free: 94.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.9662, allocations: 1.407 MB / 1.035 GB, free: 93.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.9667, allocations: 0.925 MB / 1.035 GB, free: 92.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005859/0.9672, allocations: 144.5 kB / 1.036 GB, free: 92.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.9674, allocations: 38.09 kB / 1.036 GB, free: 92.72 MB / 0.7448 GB Notification: Performance of SimCode: time 1.572e-06/0.9674, allocations: 1 kB / 1.036 GB, free: 92.72 MB / 0.7448 GB Notification: Performance of Templates: time 0.02334/0.9907, allocations: 12.02 MB / 1.047 GB, free: 92.29 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)