Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",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.0009828/0.0009828, allocations: 102.5 kB / 16.27 MB, free: 6.352 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.0009169/0.0009169, allocations: 194.1 kB / 17.2 MB, free: 5.953 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.24/1.24, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6782/0.6782, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.283, allocations: 77.93 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003618/0.2867, allocations: 3.055 MB / 0.5703 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.2889, allocations: 1.917 MB / 0.5721 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.289, allocations: 4.406 kB / 0.5721 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000671/0.2897, allocations: 278.8 kB / 0.5724 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.29, allocations: 190.6 kB / 0.5726 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.2905, allocations: 246.4 kB / 0.5728 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.2907, allocations: 327.4 kB / 0.5731 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.291, allocations: 186 kB / 0.5733 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.2911, allocations: 135.9 kB / 0.5734 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.2913, allocations: 144 kB / 0.5736 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.2914, allocations: 21.22 kB / 0.5736 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.2919, allocations: 402.6 kB / 0.574 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.292, allocations: 88.48 kB / 0.5741 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.2921, allocations: 117.5 kB / 0.5742 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.2926, allocations: 491.1 kB / 0.5746 GB, free: 28.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.2926, allocations: 1.375 kB / 0.5746 GB, free: 28.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.2926, allocations: 3.938 kB / 0.5747 GB, free: 28.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.2926, allocations: 1.375 kB / 0.5747 GB, free: 28.19 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0005585/0.2932, allocations: 0.5526 MB / 0.5752 GB, free: 27.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.207e-05/0.2932, allocations: 9.938 kB / 0.5752 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.2932, allocations: 56.78 kB / 0.5753 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000698/0.2939, allocations: 111.6 kB / 0.5754 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.2942, allocations: 266.7 kB / 0.5756 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2942, allocations: 13.72 kB / 0.5756 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.2942, allocations: 17.34 kB / 0.5756 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.2947, allocations: 360.5 kB / 0.576 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2947, allocations: 1.25 kB / 0.576 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.2947, allocations: 7.281 kB / 0.576 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.2948, allocations: 25.62 kB / 0.576 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.2952, allocations: 296.6 kB / 0.5763 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.2968, allocations: 1.745 MB / 0.578 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.2971, allocations: 323.4 kB / 0.5783 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.2973, allocations: 107.1 kB / 0.5784 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.2974, allocations: 87.53 kB / 0.5785 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.2974, allocations: 38.53 kB / 0.5785 GB, free: 25.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.2974, allocations: 0 / 0.5785 GB, free: 25.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002079/0.2995, allocations: 0.9688 MB / 0.5795 GB, free: 24.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.2995, allocations: 85.83 kB / 0.5796 GB, free: 24.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.2997, allocations: 216.6 kB / 0.5798 GB, free: 24.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2997, allocations: 30.92 kB / 0.5798 GB, free: 24.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.2998, allocations: 167.2 kB / 0.58 GB, free: 24.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.2998, allocations: 81.69 kB / 0.58 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.2999, allocations: 64.84 kB / 0.5801 GB, free: 24.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.3, allocations: 329.9 kB / 0.5804 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.3001, allocations: 131.5 kB / 0.5805 GB, free: 23.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.3003, allocations: 211.5 kB / 0.5807 GB, free: 23.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.3007, allocations: 367.9 kB / 0.5811 GB, free: 23.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3007, allocations: 1.438 kB / 0.5811 GB, free: 23.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007115/0.3014, allocations: 0.5004 MB / 0.5816 GB, free: 23.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.3015, allocations: 6.812 kB / 0.5816 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3015, allocations: 3.172 kB / 0.5816 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004322/0.3019, allocations: 160.2 kB / 0.5818 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.3021, allocations: 60.34 kB / 0.5818 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.304, allocations: 4.187 MB / 0.5859 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.3041, allocations: 22.75 kB / 0.5859 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.3042, allocations: 13.69 kB / 0.5859 GB, free: 19.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.3043, allocations: 169.6 kB / 0.5861 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.3044, allocations: 18.59 kB / 0.5861 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/0.305, allocations: 489.1 kB / 0.5866 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.305, allocations: 2.969 kB / 0.5866 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.305, allocations: 1.188 kB / 0.5866 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3051, allocations: 4.891 kB / 0.5866 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.3062, allocations: 1.009 MB / 0.5876 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3062, allocations: 2.719 kB / 0.5876 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.3063, allocations: 33.61 kB / 0.5876 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003206/0.3067, allocations: 152.6 kB / 0.5878 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.3067, allocations: 10.44 kB / 0.5878 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.3084, allocations: 4.17 MB / 0.5918 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3084, allocations: 6.047 kB / 0.5918 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.309, allocations: 0.6229 MB / 0.5924 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.3091, allocations: 135.5 kB / 0.5926 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.3091, allocations: 3.469 kB / 0.5926 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.3093, allocations: 17.77 kB / 0.5926 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3094, allocations: 26.5 kB / 0.5926 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.3094, allocations: 13 kB / 0.5926 GB, free: 12.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.827e-05/0.3095, allocations: 161.6 kB / 0.5928 GB, free: 12.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3095, allocations: 4 kB / 0.5928 GB, free: 12.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004449/0.3099, allocations: 86.69 kB / 0.5929 GB, free: 12.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007724/0.3107, allocations: 1.194 MB / 0.594 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007256/0.3115, allocations: 0.5877 MB / 0.5946 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3115, allocations: 4.062 kB / 0.5946 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.3119, allocations: 402.1 kB / 0.595 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.3123, allocations: 49.55 kB / 0.5951 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.3153, allocations: 3.327 MB / 0.5983 GB, free: 8.328 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.3155, allocations: 0.7763 MB / 0.5991 GB, free: 7.586 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.3156, allocations: 66.11 kB / 0.5991 GB, free: 7.555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.3157, allocations: 68.2 kB / 0.5992 GB, free: 7.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3157, allocations: 0 / 0.5992 GB, free: 7.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.093/3.409, allocations: 6.596 MB / 0.6056 GB, free: 1.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/13.98, allocations: 0 / 0.6056 GB, free: 1.988 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)