Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",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.001287/0.001286, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.157/0.157, allocations: 5.385 MB / 295.8 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 60.09 kB / 361 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1043, allocations: 50.63 MB / 411.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.005236/0.1095, allocations: 3.428 MB / 415.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.1117, allocations: 1.27 MB / 416.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.1121, allocations: 7.938 kB / 416.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.1128, allocations: 206.8 kB / 416.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.1133, allocations: 158.8 kB / 416.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1135, allocations: 119.8 kB / 416.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000652/0.1142, allocations: 0.5721 MB / 417.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.1145, allocations: 124.1 kB / 417.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.1148, allocations: 219.1 kB / 417.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.1151, allocations: 258.9 kB / 418 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.375e-05/0.1152, allocations: 52 kB / 418 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1153, allocations: 63.98 kB / 418.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1155, allocations: 111.6 kB / 418.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.1157, allocations: 230.9 kB / 418.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.1162, allocations: 0.5373 MB / 419 MB, free: 3.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1163, allocations: 0 / 419 MB, free: 3.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1163, allocations: 0 / 419 MB, free: 3.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.1163, allocations: 0 / 419 MB, free: 3.934 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002011/0.1183, allocations: 0.8219 MB / 419.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1183, allocations: 12.03 kB / 419.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.444e-05/0.1184, allocations: 62.72 kB / 419.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.366e-05/0.1185, allocations: 44.38 kB / 419.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.1197, allocations: 496.1 kB / 420.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.1197, allocations: 24.5 kB / 420.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.1197, allocations: 24 kB / 420.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.1204, allocations: 325.3 kB / 420.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1204, allocations: 0 / 420.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.1205, allocations: 23.88 kB / 420.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.1205, allocations: 4 kB / 420.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.1212, allocations: 282 kB / 421.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.1236, allocations: 1.327 MB / 422.4 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1614/0.285, allocations: 311.5 kB / 422.7 MB, free: 48.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.2856, allocations: 136.4 kB / 422.8 MB, free: 48.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.2856, allocations: 4.703 kB / 422.8 MB, free: 48.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.2857, allocations: 37.53 kB / 422.9 MB, free: 48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.2857, allocations: 0 / 422.9 MB, free: 48 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003635/0.2893, allocations: 0.745 MB / 423.6 MB, free: 47.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.2894, allocations: 56.41 kB / 423.7 MB, free: 47.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.2898, allocations: 388.8 kB / 424 MB, free: 47.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.2899, allocations: 33.61 kB / 424.1 MB, free: 47.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.29, allocations: 218 kB / 424.3 MB, free: 47.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.29, allocations: 49.91 kB / 424.3 MB, free: 47.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.2902, allocations: 60.88 kB / 424.4 MB, free: 47.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.2902, allocations: 342.9 kB / 424.7 MB, free: 47.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.2905, allocations: 116.3 kB / 424.8 MB, free: 47.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.2908, allocations: 155 kB / 425 MB, free: 47.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.2914, allocations: 251.2 kB / 425.2 MB, free: 47.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2914, allocations: 3.219 kB / 425.2 MB, free: 47.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002469/0.2939, allocations: 0.6318 MB / 425.9 MB, free: 47.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2939, allocations: 3.25 kB / 425.9 MB, free: 47.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2939, allocations: 3.062 kB / 425.9 MB, free: 47.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008844/0.2948, allocations: 254.8 kB / 426.1 MB, free: 47.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.295, allocations: 48.5 kB / 426.2 MB, free: 47.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005686/0.3007, allocations: 3.919 MB / 430.1 MB, free: 43.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.3012, allocations: 41.11 kB / 430.1 MB, free: 43.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.3012, allocations: 14.38 kB / 430.2 MB, free: 43.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.3014, allocations: 149.1 kB / 430.3 MB, free: 43.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.3015, allocations: 36.58 kB / 430.3 MB, free: 43.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.154e-05/0.3016, allocations: 37.66 kB / 430.4 MB, free: 43.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3016, allocations: 2.188 kB / 430.4 MB, free: 43.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3016, allocations: 7.719 kB / 430.4 MB, free: 43.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3016, allocations: 3.328 kB / 430.4 MB, free: 43.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.3041, allocations: 0.936 MB / 431.3 MB, free: 43.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3041, allocations: 5.75 kB / 431.3 MB, free: 43.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3043, allocations: 24.39 kB / 431.3 MB, free: 43.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004464/0.3047, allocations: 173.6 kB / 431.5 MB, free: 43.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.3047, allocations: 4.266 kB / 431.5 MB, free: 43.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003759/0.3085, allocations: 2.143 MB / 433.7 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3085, allocations: 3.844 kB / 433.7 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.3106, allocations: 0.5759 MB / 434.2 MB, free: 41.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3107, allocations: 128.5 kB / 434.4 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.3107, allocations: 7.188 kB / 434.4 MB, free: 41.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.311, allocations: 19.8 kB / 434.4 MB, free: 41.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.3111, allocations: 14.67 kB / 434.4 MB, free: 41.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3111, allocations: 7.156 kB / 434.4 MB, free: 41.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002696/0.3114, allocations: 269.9 kB / 434.7 MB, free: 41.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.3114, allocations: 0 / 434.7 MB, free: 41.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004981/0.3119, allocations: 98.75 kB / 434.8 MB, free: 41.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002298/0.3142, allocations: 1.114 MB / 435.9 MB, free: 40.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.3153, allocations: 0.517 MB / 436.4 MB, free: 39.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3153, allocations: 1.969 kB / 436.4 MB, free: 39.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.3156, allocations: 212 kB / 436.6 MB, free: 39.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.3161, allocations: 88.62 kB / 436.7 MB, free: 39.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007501/0.3236, allocations: 3.843 MB / 440.5 MB, free: 37.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.3238, allocations: 0.7876 MB / 441.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.324, allocations: 42.91 kB / 441.4 MB, free: 36.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3242, allocations: 113.3 kB / 441.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3242, allocations: 7.219 kB / 441.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.3534, allocations: 10.07 MB / 451.6 MB, free: 36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.52, allocations: 7.016 kB / 451.6 MB, free: 35.99 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)