Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001083/0.001083, allocations: 102.2 kB / 15.98 MB, free: 6.34 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.0009761/0.0009761, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.193/1.193, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6411/0.6411, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 71.89 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2946, allocations: 76.17 MB / 0.556 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00647/0.3011, allocations: 6.788 MB / 0.5627 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.305, allocations: 3.046 MB / 0.5656 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005632/0.3056, allocations: 26.5 kB / 0.5657 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.3075, allocations: 0.897 MB / 0.5665 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.3087, allocations: 470.3 kB / 0.567 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009803/0.3097, allocations: 410 kB / 0.5674 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.3111, allocations: 1.231 MB / 0.5686 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009964/0.3121, allocations: 0.7313 MB / 0.5693 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007658/0.3128, allocations: 476 kB / 0.5698 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007592/0.3136, allocations: 0.5401 MB / 0.5703 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.3137, allocations: 66.12 kB / 0.5703 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006559/0.3144, allocations: 379.7 kB / 0.5707 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.3146, allocations: 303.5 kB / 0.571 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.315, allocations: 455.7 kB / 0.5714 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.3161, allocations: 1.239 MB / 0.5726 GB, free: 25.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.3161, allocations: 0 / 0.5726 GB, free: 25.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3161, allocations: 1.156 kB / 0.5726 GB, free: 25.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.3161, allocations: 0 / 0.5726 GB, free: 25.89 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00145/0.3175, allocations: 1.167 MB / 0.5738 GB, free: 25.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.3176, allocations: 11.17 kB / 0.5738 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.3177, allocations: 120 kB / 0.5739 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.3191, allocations: 236.1 kB / 0.5741 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.3197, allocations: 0.5628 MB / 0.5747 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.3198, allocations: 51.8 kB / 0.5747 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.561e-05/0.3199, allocations: 59 kB / 0.5748 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.3212, allocations: 1.091 MB / 0.5758 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.3212, allocations: 2.75 kB / 0.5759 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.3213, allocations: 43.77 kB / 0.5759 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.3214, allocations: 84.56 kB / 0.576 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.3224, allocations: 0.7537 MB / 0.5767 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003804/0.3262, allocations: 5.888 MB / 0.5825 GB, free: 18.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008086/0.3271, allocations: 0.5501 MB / 0.583 GB, free: 18.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.3275, allocations: 329.5 kB / 0.5833 GB, free: 18.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.3275, allocations: 9.562 kB / 0.5833 GB, free: 18.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.3275, allocations: 43.88 kB / 0.5834 GB, free: 18.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 1.583e-06/0.3275, allocations: 0 / 0.5834 GB, free: 18.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003304/0.3308, allocations: 1.994 MB / 0.5853 GB, free: 17.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.638e-05/0.3309, allocations: 56 kB / 0.5854 GB, free: 17.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.3314, allocations: 0.5609 MB / 0.5859 GB, free: 16.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.3314, allocations: 36.36 kB / 0.5859 GB, free: 16.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.3316, allocations: 416.9 kB / 0.5863 GB, free: 16.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.909e-05/0.3317, allocations: 172 kB / 0.5865 GB, free: 16.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.3318, allocations: 128.9 kB / 0.5866 GB, free: 16.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.3319, allocations: 379 kB / 0.587 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.3323, allocations: 274.5 kB / 0.5873 GB, free: 15.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.3327, allocations: 495.1 kB / 0.5877 GB, free: 15.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007845/0.3335, allocations: 0.814 MB / 0.5885 GB, free: 14.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3335, allocations: 2.031 kB / 0.5885 GB, free: 14.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00154/0.3351, allocations: 1.087 MB / 0.5896 GB, free: 14.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3351, allocations: 8.578 kB / 0.5896 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3351, allocations: 7.594 kB / 0.5896 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007206/0.3358, allocations: 281.7 kB / 0.5899 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.3363, allocations: 127.7 kB / 0.59 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004401/0.3407, allocations: 7.134 MB / 0.597 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.3411, allocations: 38.39 kB / 0.597 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.3412, allocations: 35.69 kB / 0.597 GB, free: 7.773 MB / 446.1 MB 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0002571/0.3415, allocations: 250.9 kB / 0.5973 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-05/0.3416, allocations: 71.53 kB / 0.5973 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.3428, allocations: 0.8926 MB / 0.5982 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3428, allocations: 5.031 kB / 0.5982 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3429, allocations: 3.312 kB / 0.5982 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3429, allocations: 4.891 kB / 0.5982 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.3449, allocations: 1.719 MB / 0.5999 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.345, allocations: 9.438 kB / 0.5999 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.3452, allocations: 68.17 kB / 0.6 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006315/0.3459, allocations: 265.7 kB / 0.6002 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.3459, allocations: 11.38 kB / 0.6002 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004565/0.3505, allocations: 7.128 MB / 0.6072 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3505, allocations: 7.969 kB / 0.6072 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.3518, allocations: 0.9873 MB / 0.6082 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.3521, allocations: 188.2 kB / 0.6083 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.161e-05/0.3521, allocations: 15.94 kB / 0.6084 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.3525, allocations: 27.95 kB / 0.6084 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.3526, allocations: 47.89 kB / 0.6084 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.3526, allocations: 16 kB / 0.6085 GB, free: 12.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003654/0.353, allocations: 387.1 kB / 0.6088 GB, free: 12.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.353, allocations: 0 / 0.6088 GB, free: 12.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007107/0.3537, allocations: 228 kB / 0.609 GB, free: 12.16 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/0.3553, allocations: 1.539 MB / 0.6105 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.3571, allocations: 1.346 MB / 0.6119 GB, free: 9.168 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3571, allocations: 0 / 0.6119 GB, free: 9.168 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.3582, allocations: 0.8855 MB / 0.6127 GB, free: 8.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/0.3591, allocations: 218 kB / 0.6129 GB, free: 8.027 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007793/0.3669, allocations: 6.846 MB / 0.6196 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.3675, allocations: 1.013 MB / 0.6206 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003821/0.3679, allocations: 130 kB / 0.6207 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.3682, allocations: 251.3 kB / 0.621 GB, free: 15.43 MB / 478.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3682, allocations: 0 / 0.621 GB, free: 15.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.31/1.678, allocations: 17.2 MB / 0.6378 GB, free: 14.6 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003708/1.678, allocations: 239.5 kB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/3.7, allocations: 3.938 kB / 0.638 GB, free: 14.34 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)