Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 103.8 kB / 16.41 MB, free: 6.016 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.001546/0.001547, allocations: 192.3 kB / 17.34 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002357/0.002357, allocations: 278.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9738/0.9738, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 91.86 kB / 0.6821 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.526/0.528, allocations: 86.98 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01354/0.5416, allocations: 10.9 MB / 0.7777 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.5557, allocations: 8.788 MB / 0.7863 GB, free: 136 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.5576, allocations: 59.62 kB / 0.7863 GB, free: 76 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004721/0.5624, allocations: 1.672 MB / 0.788 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005709/0.5681, allocations: 1.566 MB / 0.7895 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.5705, allocations: 0.6768 MB / 0.7902 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003861/0.5744, allocations: 2.282 MB / 0.7924 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.5769, allocations: 1.384 MB / 0.7937 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.5791, allocations: 1.004 MB / 0.7947 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.5813, allocations: 1.023 MB / 0.7957 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005532/0.5819, allocations: 136 kB / 0.7958 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.5841, allocations: 0.7993 MB / 0.7966 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009627/0.5851, allocations: 0.5686 MB / 0.7972 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.5871, allocations: 0.8861 MB / 0.798 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004628/0.5917, allocations: 2.576 MB / 0.8006 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.5918, allocations: 3.938 kB / 0.8006 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5918, allocations: 0 / 0.8006 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001082/0.5919, allocations: 0 / 0.8006 GB, free: 1.426 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004865/0.5967, allocations: 2.018 MB / 0.8025 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5968, allocations: 12.02 kB / 0.8025 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/0.6085, allocations: 2.046 MB / 0.8045 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.6117, allocations: 1.208 MB / 0.8057 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.6118, allocations: 90.69 kB / 0.8058 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000516/0.6123, allocations: 120.1 kB / 0.8059 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007029/0.6194, allocations: 2.482 MB / 0.8083 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-05/0.6195, allocations: 11.84 kB / 0.8084 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/0.6198, allocations: 55.98 kB / 0.8084 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000416/0.6202, allocations: 130.1 kB / 0.8085 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008082/0.6283, allocations: 2.537 MB / 0.811 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.6445, allocations: 10.03 MB / 0.8208 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006577/0.6512, allocations: 1.948 MB / 0.8227 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002946/0.6541, allocations: 0.9738 MB / 0.8237 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.26e-05/0.6542, allocations: 12.42 kB / 0.8237 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.6543, allocations: 39 kB / 0.8237 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.685e-06/0.6543, allocations: 0 / 0.8237 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03264/0.6869, allocations: 8.714 MB / 0.8322 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.687, allocations: 64 kB / 0.8323 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.6889, allocations: 1.101 MB / 0.8334 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.6891, allocations: 45.7 kB / 0.8334 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006231/0.6897, allocations: 0.7379 MB / 0.8341 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.6901, allocations: 279.9 kB / 0.8344 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/0.6906, allocations: 202.4 kB / 0.8346 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6907, allocations: 341.9 kB / 0.8349 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.6939, allocations: 1.079 MB / 0.836 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.6972, allocations: 1.305 MB / 0.8372 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006307/0.7035, allocations: 2.382 MB / 0.8396 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.7035, allocations: 4 kB / 0.8396 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009251/0.7128, allocations: 3.273 MB / 0.8428 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.7129, allocations: 8 kB / 0.8428 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.7129, allocations: 8 kB / 0.8428 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/0.7158, allocations: 0.7874 MB / 0.8435 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.7179, allocations: 423.2 kB / 0.844 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/0.7358, allocations: 15.91 MB / 0.8595 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.7385, allocations: 295.6 kB / 0.8598 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/0.7388, allocations: 47.97 kB / 0.8598 GB, free: 2.273 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001034/0.7398, allocations: 393.5 kB / 0.8602 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004565/0.7403, allocations: 142.3 kB / 0.8603 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009315/0.7496, allocations: 3.21 MB / 0.8635 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.7497, allocations: 11.94 kB / 0.8635 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.07e-05/0.7497, allocations: 8 kB / 0.8635 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.7497, allocations: 3.984 kB / 0.8635 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.7622, allocations: 4.902 MB / 0.8683 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.7622, allocations: 7.922 kB / 0.8683 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/0.7639, allocations: 351.4 kB / 0.8686 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/0.7664, allocations: 0.6977 MB / 0.8693 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.7666, allocations: 31.97 kB / 0.8693 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/0.7836, allocations: 15.53 MB / 0.8845 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.7837, allocations: 15.94 kB / 0.8845 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008877/0.7926, allocations: 3.043 MB / 0.8875 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009465/0.7936, allocations: 379.2 kB / 0.8878 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004398/0.794, allocations: 20.19 kB / 0.8879 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/0.7962, allocations: 299.4 kB / 0.8881 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/0.7965, allocations: 76.5 kB / 0.8882 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.7967, allocations: 43.95 kB / 0.8883 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001488/0.7982, allocations: 0.7327 MB / 0.889 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7982, allocations: 0 / 0.889 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002106/0.8003, allocations: 436 kB / 0.8894 GB, free: 2.562 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003425/0.8006, allocations: 131 kB / 0.8895 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009245/0.8099, allocations: 3.629 MB / 0.8931 GB, free: 14.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.81, allocations: 0 / 0.8931 GB, free: 14.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005545/0.8155, allocations: 2.368 MB / 0.8954 GB, free: 12.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/0.8187, allocations: 0.5231 MB / 0.8959 GB, free: 11.73 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009298/0.828, allocations: 3.544 MB / 0.8993 GB, free: 8.129 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.8297, allocations: 1.388 MB / 0.9007 GB, free: 6.707 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/0.8304, allocations: 123.3 kB / 0.9008 GB, free: 6.586 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/0.8304, allocations: 4 kB / 0.9008 GB, free: 6.582 MB / 0.67 GB Notification: Performance of Templates: time 0.516/1.346, allocations: 75.1 MB / 0.9742 GB, free: 189.8 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)