Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004984/0.0004984, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0004422/0.0004422, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.3313/0.3313, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.009141/0.009141, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.707e-06/3.707e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.228e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01772/0.01774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.009438/0.02718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.02885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.01104/0.03989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.00452/0.04441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.004109/0.04852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.006883/0.0554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.02834/0.08374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.01018/0.09392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.007514/0.1014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.001332/0.1028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.1061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.002328/0.1084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.004485/0.1129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.02215/0.1351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.001541/0.1366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 9.578e-06/0.1366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.0001137/0.1367, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1072 * Number of variables: 1072 Notification: Performance of Generate backend data structure: time 0.04649/0.1832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002907/0.1835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006414/0.1899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05002/0.2399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.01829/0.2582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000751/0.259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.003308/0.2623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.04473/0.307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0002914/0.3073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002276/0.3096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006427/0.3102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03347/0.3437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08758/0.4313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.4426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/0.4456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/0.4459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.531e-05/0.446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=86): time 0.0007739/0.4468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=86): time 0.009024/0.4558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.4559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007698/0.4636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0004113/0.464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.002157/0.4662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0006847/0.4669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.003211/0.4701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003399/0.4704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0051/0.4755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.006222/0.4818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/0.4921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-05/0.4922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=279) (initialization): time 0.01704/0.5092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.5093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.5094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.5096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004423/0.514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001658/0.5142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/0.5172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007472/0.5179, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 1 variables: voltageSource.plug_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = \"rad\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 1 (converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007391/0.5253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/0.5267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008111/0.5348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005492/0.5403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/0.5404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.5404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02572/0.5661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/0.5661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/0.568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.79e-05/0.5681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003386/0.5684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.216e-05/0.5684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.5684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009884/0.5783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.002745/0.5811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008913/0.5819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.5833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009534/0.5843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002935/0.5845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.005158/0.5897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.824e-05/0.5898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.007258/0.597, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (voltageSource.plug_p.reference.gamma,converter.integrator.y) * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01172/0.6087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.008883/0.6176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.6176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002641/0.6203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006158/0.6264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09941/0.7258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009947/0.7358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.004562/0.7404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008173/0.7485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001851/0.7504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.04689/0.7973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.01997/0.8172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.03922/0.8565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 2.154e-05/0.8565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 3.031e-05/0.8565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.4 MB unzipped): time 0.0003247/0.8568, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 659] simulate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,startTime=0,stopTime=180,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=180 -tolerance=1e-06 -stepSize=0.072 -noemit",resimulateExecutable="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,startTime=0,stopTime=180,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=180 -tolerance=1e-06 -stepSize=0.072 -noemit -s fmi3:me:daskr",resimulateExecutable="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,startTime=0,stopTime=180,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=180 -tolerance=1e-06 -stepSize=0.072 -noemit -s fmi3:cs",resimulateExecutable="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter.fmu") [Timeout 240] "" [Timeout remaining time 240] [Calling sys.exit(0), Time elapsed: 2.293421890004538]