Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.001336/0.001336, allocations: 101.9 kB / 15.98 MB, free: 6.344 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.001253/0.001253, allocations: 195.1 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.22/1.22, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6597/0.6597, allocations: 115.3 MB / 406.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 493.2 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2815, allocations: 76.17 MB / 0.556 GB, free: 36.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005969/0.2875, allocations: 6.074 MB / 0.562 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.2909, allocations: 3.121 MB / 0.565 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.2912, allocations: 27.47 kB / 0.565 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.293, allocations: 0.8895 MB / 0.5659 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006667/0.2937, allocations: 431.8 kB / 0.5663 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007588/0.2944, allocations: 440.3 kB / 0.5667 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008256/0.2953, allocations: 1.093 MB / 0.5678 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007746/0.296, allocations: 0.7104 MB / 0.5685 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.2964, allocations: 445.6 kB / 0.5689 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004453/0.2969, allocations: 489.3 kB / 0.5694 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.889e-05/0.297, allocations: 58.91 kB / 0.5695 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.2976, allocations: 486.6 kB / 0.5699 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.2978, allocations: 287.1 kB / 0.5702 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.2981, allocations: 401.5 kB / 0.5706 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.2991, allocations: 1.2 MB / 0.5717 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2992, allocations: 0 / 0.5717 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2992, allocations: 1.219 kB / 0.5717 GB, free: 27.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2992, allocations: 1.219 kB / 0.5717 GB, free: 27.12 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001217/0.3004, allocations: 1.058 MB / 0.5728 GB, free: 26.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.3004, allocations: 9.5 kB / 0.5728 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.3006, allocations: 114.4 kB / 0.5729 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.3019, allocations: 221 kB / 0.5731 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/0.3025, allocations: 0.5373 MB / 0.5736 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.3026, allocations: 48.83 kB / 0.5737 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.3027, allocations: 66.27 kB / 0.5737 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.3038, allocations: 1.037 MB / 0.5748 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.3039, allocations: 7.453 kB / 0.5748 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.3039, allocations: 30.73 kB / 0.5748 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-05/0.304, allocations: 68.45 kB / 0.5749 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000903/0.3049, allocations: 0.693 MB / 0.5755 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.3083, allocations: 5.752 MB / 0.5811 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.309, allocations: 0.6015 MB / 0.5817 GB, free: 19.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.3097, allocations: 422.2 kB / 0.5821 GB, free: 19.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.3098, allocations: 7.531 kB / 0.5821 GB, free: 19.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.3098, allocations: 37 kB / 0.5822 GB, free: 19.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.553e-06/0.3098, allocations: 1.938 kB / 0.5822 GB, free: 19.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003768/0.3136, allocations: 2.049 MB / 0.5842 GB, free: 18.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.3136, allocations: 60.23 kB / 0.5842 GB, free: 18.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.314, allocations: 454.4 kB / 0.5847 GB, free: 18.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.314, allocations: 34.92 kB / 0.5847 GB, free: 18.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3142, allocations: 389.6 kB / 0.5851 GB, free: 17.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.262e-05/0.3143, allocations: 149.9 kB / 0.5852 GB, free: 17.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.3144, allocations: 109.1 kB / 0.5853 GB, free: 17.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.3145, allocations: 361.6 kB / 0.5857 GB, free: 17.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.3148, allocations: 252.5 kB / 0.5859 GB, free: 17.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.3152, allocations: 460.4 kB / 0.5864 GB, free: 16.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/0.3159, allocations: 0.7479 MB / 0.5871 GB, free: 16.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3159, allocations: 6.094 kB / 0.5871 GB, free: 16.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001635/0.3175, allocations: 1.06 MB / 0.5881 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3176, allocations: 7.281 kB / 0.5881 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3176, allocations: 7.625 kB / 0.5881 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009203/0.3185, allocations: 341.2 kB / 0.5885 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.3188, allocations: 95.52 kB / 0.5886 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004985/0.3238, allocations: 7.525 MB / 0.5959 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.3241, allocations: 38.52 kB / 0.5959 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.3242, allocations: 26.41 kB / 0.596 GB, free: 8.691 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.3244, allocations: 247.9 kB / 0.5962 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.3245, allocations: 55.53 kB / 0.5963 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.326, allocations: 0.9176 MB / 0.5972 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.326, allocations: 3.594 kB / 0.5972 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.326, allocations: 4.656 kB / 0.5972 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.326, allocations: 4.078 kB / 0.5972 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.3282, allocations: 1.708 MB / 0.5988 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3282, allocations: 6.172 kB / 0.5988 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.3284, allocations: 41.56 kB / 0.5989 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008411/0.3292, allocations: 331.3 kB / 0.5992 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.3292, allocations: 8.344 kB / 0.5992 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004999/0.3342, allocations: 7.515 MB / 0.6065 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3343, allocations: 8.031 kB / 0.6065 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.3358, allocations: 1.011 MB / 0.6075 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.336, allocations: 172.4 kB / 0.6077 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.3361, allocations: 16.22 kB / 0.6077 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.3364, allocations: 15.98 kB / 0.6077 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.3365, allocations: 39.94 kB / 0.6078 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.3365, allocations: 15.98 kB / 0.6078 GB, free: 13.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.3368, allocations: 306.8 kB / 0.6081 GB, free: 13 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3368, allocations: 0 / 0.6081 GB, free: 13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006546/0.3374, allocations: 200 kB / 0.6083 GB, free: 12.8 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001779/0.3392, allocations: 1.56 MB / 0.6098 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.3409, allocations: 1.25 MB / 0.611 GB, free: 9.883 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3409, allocations: 0 / 0.611 GB, free: 9.883 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.342, allocations: 0.8582 MB / 0.6118 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008904/0.3429, allocations: 200.6 kB / 0.612 GB, free: 8.785 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007144/0.3501, allocations: 6.247 MB / 0.6181 GB, free: 2.227 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.3506, allocations: 0.9843 MB / 0.6191 GB, free: 1.211 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002617/0.3508, allocations: 101.2 kB / 0.6192 GB, free: 1.113 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.3511, allocations: 227.4 kB / 0.6194 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3511, allocations: 0 / 0.6194 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04102/0.3921, allocations: 15.13 MB / 0.6342 GB, free: 2.047 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.3923, allocations: 220.6 kB / 0.6344 GB, free: 1.797 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.271, allocations: 0 / 0.6344 GB, free: 1.797 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)